##// END OF EJS Templates
remove trailing white-spaces from app/views/custom_fields/_form.rhtml....
Toshi MARUYAMA -
r6224:7a892322aa40
parent child
Show More
@@ -9,10 +9,10 function toggle_custom_field_format() {
9 p_values = $("custom_field_possible_values");
9 p_values = $("custom_field_possible_values");
10 p_searchable = $("custom_field_searchable");
10 p_searchable = $("custom_field_searchable");
11 p_default = $("custom_field_default_value");
11 p_default = $("custom_field_default_value");
12
12
13 p_default.setAttribute('type','text');
13 p_default.setAttribute('type','text');
14 Element.show(p_default.parentNode);
14 Element.show(p_default.parentNode);
15
15
16 switch (format.value) {
16 switch (format.value) {
17 case "list":
17 case "list":
18 Element.hide(p_length.parentNode);
18 Element.hide(p_length.parentNode);
@@ -79,7 +79,7 function toggle_custom_field_format() {
79 <div class="box">
79 <div class="box">
80 <% case @custom_field.class.name
80 <% case @custom_field.class.name
81 when "IssueCustomField" %>
81 when "IssueCustomField" %>
82
82
83 <fieldset><legend><%=l(:label_tracker_plural)%></legend>
83 <fieldset><legend><%=l(:label_tracker_plural)%></legend>
84 <% for tracker in @trackers %>
84 <% for tracker in @trackers %>
85 <%= check_box_tag "custom_field[tracker_ids][]", tracker.id, (@custom_field.trackers.include? tracker) %> <%=h tracker.name %>
85 <%= check_box_tag "custom_field[tracker_ids][]", tracker.id, (@custom_field.trackers.include? tracker) %> <%=h tracker.name %>
@@ -91,7 +91,7 when "IssueCustomField" %>
91 <p><%= f.check_box :is_for_all %></p>
91 <p><%= f.check_box :is_for_all %></p>
92 <p><%= f.check_box :is_filter %></p>
92 <p><%= f.check_box :is_filter %></p>
93 <p><%= f.check_box :searchable %></p>
93 <p><%= f.check_box :searchable %></p>
94
94
95 <% when "UserCustomField" %>
95 <% when "UserCustomField" %>
96 <p><%= f.check_box :is_required %></p>
96 <p><%= f.check_box :is_required %></p>
97 <p><%= f.check_box :visible %></p>
97 <p><%= f.check_box :visible %></p>
@@ -107,7 +107,7 when "IssueCustomField" %>
107
107
108 <% else %>
108 <% else %>
109 <p><%= f.check_box :is_required %></p>
109 <p><%= f.check_box :is_required %></p>
110
110
111 <% end %>
111 <% end %>
112 <%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %>
112 <%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %>
113 </div>
113 </div>
General Comments 0
You need to be logged in to leave comments. Login now