diff options
author | Go MAEDA <maeda@farend.jp> | 2019-02-12 11:50:54 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-02-12 11:50:54 +0000 |
commit | b6592a73e89958858e6378649b3aafa6cf4583f2 (patch) | |
tree | 59870f6f4b98a3802c0cd2a08dbb053cae04fc3b /app/views/issues/_form_custom_fields.html.erb | |
parent | cbc34f2c5b3cc0e40144886cc37d5c6c1ec9839e (diff) | |
download | redmine-b6592a73e89958858e6378649b3aafa6cf4583f2.tar.gz redmine-b6592a73e89958858e6378649b3aafa6cf4583f2.zip |
Show Edit/Preview tabs for full width layout custom fields with text formatting enabled (#29712).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17858 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/_form_custom_fields.html.erb')
-rw-r--r-- | app/views/issues/_form_custom_fields.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/issues/_form_custom_fields.html.erb b/app/views/issues/_form_custom_fields.html.erb index 13bedd546..fddcd742f 100644 --- a/app/views/issues/_form_custom_fields.html.erb +++ b/app/views/issues/_form_custom_fields.html.erb @@ -20,4 +20,5 @@ <% custom_field_values_full_width.each do |value| %> <p><%= custom_field_tag_with_label :issue, value, :required => @issue.required_attribute?(value.custom_field_id) %></p> + <%= wikitoolbar_for "issue_custom_field_values_#{value.custom_field_id}", preview_issue_path(:project_id => @issue.project, :issue_id => @issue.id) if value.custom_field.full_text_formatting? %> <% end %> |