##// 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 9 p_values = $("custom_field_possible_values");
10 10 p_searchable = $("custom_field_searchable");
11 11 p_default = $("custom_field_default_value");
12
12
13 13 p_default.setAttribute('type','text');
14 14 Element.show(p_default.parentNode);
15
15
16 16 switch (format.value) {
17 17 case "list":
18 18 Element.hide(p_length.parentNode);
@@ -79,7 +79,7 function toggle_custom_field_format() {
79 79 <div class="box">
80 80 <% case @custom_field.class.name
81 81 when "IssueCustomField" %>
82
82
83 83 <fieldset><legend><%=l(:label_tracker_plural)%></legend>
84 84 <% for tracker in @trackers %>
85 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 91 <p><%= f.check_box :is_for_all %></p>
92 92 <p><%= f.check_box :is_filter %></p>
93 93 <p><%= f.check_box :searchable %></p>
94
94
95 95 <% when "UserCustomField" %>
96 96 <p><%= f.check_box :is_required %></p>
97 97 <p><%= f.check_box :visible %></p>
@@ -107,7 +107,7 when "IssueCustomField" %>
107 107
108 108 <% else %>
109 109 <p><%= f.check_box :is_required %></p>
110
110
111 111 <% end %>
112 112 <%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %>
113 113 </div>
General Comments 0
You need to be logged in to leave comments. Login now