remove trailing white-spaces from app/views/custom_fields/_form.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6344 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b48429bf1a
commit
7a892322aa
|
@ -9,10 +9,10 @@ function toggle_custom_field_format() {
|
||||||
p_values = $("custom_field_possible_values");
|
p_values = $("custom_field_possible_values");
|
||||||
p_searchable = $("custom_field_searchable");
|
p_searchable = $("custom_field_searchable");
|
||||||
p_default = $("custom_field_default_value");
|
p_default = $("custom_field_default_value");
|
||||||
|
|
||||||
p_default.setAttribute('type','text');
|
p_default.setAttribute('type','text');
|
||||||
Element.show(p_default.parentNode);
|
Element.show(p_default.parentNode);
|
||||||
|
|
||||||
switch (format.value) {
|
switch (format.value) {
|
||||||
case "list":
|
case "list":
|
||||||
Element.hide(p_length.parentNode);
|
Element.hide(p_length.parentNode);
|
||||||
|
@ -79,7 +79,7 @@ function toggle_custom_field_format() {
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<% case @custom_field.class.name
|
<% case @custom_field.class.name
|
||||||
when "IssueCustomField" %>
|
when "IssueCustomField" %>
|
||||||
|
|
||||||
<fieldset><legend><%=l(:label_tracker_plural)%></legend>
|
<fieldset><legend><%=l(:label_tracker_plural)%></legend>
|
||||||
<% for tracker in @trackers %>
|
<% for tracker in @trackers %>
|
||||||
<%= check_box_tag "custom_field[tracker_ids][]", tracker.id, (@custom_field.trackers.include? tracker) %> <%=h tracker.name %>
|
<%= check_box_tag "custom_field[tracker_ids][]", tracker.id, (@custom_field.trackers.include? tracker) %> <%=h tracker.name %>
|
||||||
|
@ -91,7 +91,7 @@ when "IssueCustomField" %>
|
||||||
<p><%= f.check_box :is_for_all %></p>
|
<p><%= f.check_box :is_for_all %></p>
|
||||||
<p><%= f.check_box :is_filter %></p>
|
<p><%= f.check_box :is_filter %></p>
|
||||||
<p><%= f.check_box :searchable %></p>
|
<p><%= f.check_box :searchable %></p>
|
||||||
|
|
||||||
<% when "UserCustomField" %>
|
<% when "UserCustomField" %>
|
||||||
<p><%= f.check_box :is_required %></p>
|
<p><%= f.check_box :is_required %></p>
|
||||||
<p><%= f.check_box :visible %></p>
|
<p><%= f.check_box :visible %></p>
|
||||||
|
@ -107,7 +107,7 @@ when "IssueCustomField" %>
|
||||||
|
|
||||||
<% else %>
|
<% else %>
|
||||||
<p><%= f.check_box :is_required %></p>
|
<p><%= f.check_box :is_required %></p>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %>
|
<%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue