Sha256: 9ca981dc41c17acbbd063d74bdc9514c5886a06711af3e8a9857f520a7f36fe9

Contents?: true

Size: 469 Bytes

Versions: 34

Compression:

Stored size: 469 Bytes

Contents

<% custom_field_values = @issue.editable_custom_field_values %>
<div class="splitcontent">
<div class="splitcontentleft">
<% i = 0 %>
<% split_on = (custom_field_values.size / 2.0).ceil - 1 %>
<% custom_field_values.each do |value| %>
  <p><%= custom_field_tag_with_label :issue, value, :required => @issue.required_attribute?(value.custom_field_id) %></p>
<% if i == split_on -%>
</div><div class="splitcontentright">
<% end -%>
<% i += 1 -%>
<% end -%>
</div>
</div>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.0.38 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.0.37 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.1.11 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.1.10 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.0.36 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.0.34 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.1.09 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.1.07 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.1.06 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.1.05 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.1.04 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.1.03 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.0.33 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.1.02 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.1.01 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.0.29 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.0.28 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.0.27 spec/redmine/app/views/issues/_form_custom_fields.html.erb
redmine_extensions-0.0.24 spec/redmine/app/views/issues/_form_custom_fields.html.erb