From b40d66f39fa8a0425ce2a08d4cf4007d814b97fb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 25 Jan 2017 14:55:36 +0000 Subject: Option for long text custom fields to be displayed under the description field (#21705). Based on patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16251 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/custom_fields/formats/_text.html.erb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/views/custom_fields') diff --git a/app/views/custom_fields/formats/_text.html.erb b/app/views/custom_fields/formats/_text.html.erb index e72dcab42..79ea7c5e6 100644 --- a/app/views/custom_fields/formats/_text.html.erb +++ b/app/views/custom_fields/formats/_text.html.erb @@ -1,3 +1,6 @@ <%= render :partial => 'custom_fields/formats/regexp', :locals => {:f => f, :custom_field => custom_field} %>

<%= f.check_box :text_formatting, {:label => :setting_text_formatting}, 'full', '' %>

+<% if @custom_field.class.name == "IssueCustomField" %> +

<%= f.check_box :full_width_layout %>

+<% end %>

<%= f.text_area(:default_value, :rows => 5) %>

-- cgit v1.2.3