##// END OF EJS Templates
Option for long text custom fields to be displayed under the description field (#21705)....
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

File last commit:

r15869:b40d66f39fa8
r15869:b40d66f39fa8
Show More
_form_custom_fields.html.erb
23 lines | 880 B | text/plain | TextLexer
/ app / views / issues / _form_custom_fields.html.erb
Jean-Philippe Lang
Custom fields in issue form - splitting is incorrect (#15227)....
r12021 <% custom_field_values = @issue.editable_custom_field_values %>
Jean-Philippe Lang
Option for long text custom fields to be displayed under the description field (#21705)....
r15869 <% custom_field_values_full_width = custom_field_values.select { |value| value.custom_field.full_width_layout? } %>
<% custom_field_values -= custom_field_values_full_width %>
Jean-Philippe Lang
Don't render empty divs when there are no custom fields on the issue form (#20501)....
r14130 <% if custom_field_values.present? %>
Jean-Philippe Lang
Removed "clear:both" divs that break the issue form with long sidebar content....
r8738 <div class="splitcontent">
Jean-Philippe Lang
Display custom fields in two columns on the issue form....
r1072 <div class="splitcontentleft">
Jean-Philippe Lang
Fixes custom fields display order at several places (#1768)....
r1730 <% i = 0 %>
Jean-Philippe Lang
Custom fields in issue form - splitting is incorrect (#15227)....
r12021 <% split_on = (custom_field_values.size / 2.0).ceil - 1 %>
<% custom_field_values.each do |value| %>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <p><%= custom_field_tag_with_label :issue, value, :required => @issue.required_attribute?(value.custom_field_id) %></p>
Jean-Philippe Lang
Custom fields refactoring: most of code moved from controllers to models (using new module ActsAsCustomizable)....
r1578 <% if i == split_on -%>
Jean-Philippe Lang
Display custom fields in two columns on the issue form....
r1072 </div><div class="splitcontentright">
Jean-Philippe Lang
Custom fields refactoring: most of code moved from controllers to models (using new module ActsAsCustomizable)....
r1578 <% end -%>
<% i += 1 -%>
<% end -%>
Jean-Philippe Lang
Display custom fields in two columns on the issue form....
r1072 </div>
Jean-Philippe Lang
Removed "clear:both" divs that break the issue form with long sidebar content....
r8738 </div>
Jean-Philippe Lang
Don't render empty divs when there are no custom fields on the issue form (#20501)....
r14130 <% end %>
Jean-Philippe Lang
Option for long text custom fields to be displayed under the description field (#21705)....
r15869
<% 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>
<% end %>