comparison .svn/pristine/3f/3f94e0cb2d52e29bcd9702d4ac1847d591aaa86d.svn-base @ 1517:dffacf8a6908 redmine-2.5

Update to Redmine SVN revision 13367 on 2.5-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:29:00 +0100
parents
children
comparison
equal deleted inserted replaced
1516:b450a9d58aed 1517:dffacf8a6908
1 <p>
2 <label><%= l(:field_status) %></label>
3 <label class="block">
4 <%= radio_button_tag 'status', 1, custom_field.version_status.blank?, :id => 'custom_field_version_status_all',
5 :data => {:disables => '.custom_field_version_status input'} %>
6 <%= l(:label_all) %>
7 </label>
8 <label class="block">
9 <%= radio_button_tag 'status', 0, custom_field.version_status.present?, :id => 'custom_field_version_status_only',
10 :data => {:enables => '.custom_field_version_status input'} %>
11 <%= l(:label_only) %>:
12 </label>
13 <% Version::VERSION_STATUSES.each do |status| %>
14 <label class="block custom_field_version_status" style="padding-left:2em;">
15 <%= check_box_tag 'custom_field[version_status][]',
16 status,
17 custom_field.version_status.is_a?(Array) && custom_field.version_status.include?(status),
18 :id => nil %>
19 <%= l("version_status_#{status}") %>
20 </label>
21 <% end %>
22 <%= hidden_field_tag 'custom_field[version_status][]', '' %>
23 </p>
24 <p><%= edit_tag_style_tag f %></p>