diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-18 02:48:22 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-18 02:48:22 +0000 |
commit | ca09630f6f9305f2c437671181a9aeb58c3169ad (patch) | |
tree | 7db9c3c6f697f7fc621b757ad6e821ba829e5854 /app/views | |
parent | f5d74e103a7cd6d016a203e967020b4d6047995f (diff) | |
download | redmine-ca09630f6f9305f2c437671181a9aeb58c3169ad.tar.gz redmine-ca09630f6f9305f2c437671181a9aeb58c3169ad.zip |
replace tabs to spaces at app/views/custom_fields/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7400 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/custom_fields/_form.html.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb index 14fca7e59..96a8dcd3c 100644 --- a/app/views/custom_fields/_form.html.erb +++ b/app/views/custom_fields/_form.html.erb @@ -40,14 +40,14 @@ function toggle_custom_field_format() { if (p_searchable) Element.hide(p_searchable.parentNode); Element.hide(p_values.parentNode); break; - case "user": + case "user": case "version": Element.hide(p_length.parentNode); Element.hide(p_regexp.parentNode); if (p_searchable) Element.hide(p_searchable.parentNode); Element.hide(p_values.parentNode); Element.hide(p_default.parentNode); - break; + break; default: Element.show(p_length.parentNode); Element.show(p_regexp.parentNode); @@ -63,13 +63,13 @@ function toggle_custom_field_format() { <div class="box"> <p><%= f.text_field :name, :required => true %></p> <p><%= f.select :field_format, custom_field_formats_for_select(@custom_field), {}, :onchange => "toggle_custom_field_format();", - :disabled => !@custom_field.new_record? %></p> + :disabled => !@custom_field.new_record? %></p> <p><label for="custom_field_min_length"><%=l(:label_min_max_length)%></label> <%= f.text_field :min_length, :size => 5, :no_label => true %> - <%= f.text_field :max_length, :size => 5, :no_label => true %><br />(<%=l(:text_min_max_length_info)%>)</p> <p><%= f.text_field :regexp, :size => 50 %><br />(<%=l(:text_regexp_info)%>)</p> <p> - <%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), :rows => 15 %> + <%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), :rows => 15 %> <br /><em><%= l(:text_custom_field_possible_values_info) %></em> </p> <p><%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %></p> @@ -84,7 +84,7 @@ when "IssueCustomField" %> <% for tracker in @trackers %> <%= check_box_tag "custom_field[tracker_ids][]", tracker.id, (@custom_field.trackers.include? tracker) %> <%=h tracker.name %> <% end %> - <%= hidden_field_tag "custom_field[tracker_ids][]", '' %> + <%= hidden_field_tag "custom_field[tracker_ids][]", '' %> </fieldset> <p><%= f.check_box :is_required %></p> |