summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r--app/views/custom_fields/_form.rhtml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/custom_fields/_form.rhtml b/app/views/custom_fields/_form.rhtml
index 7bbce5d57..cf84810c5 100644
--- a/app/views/custom_fields/_form.rhtml
+++ b/app/views/custom_fields/_form.rhtml
@@ -9,10 +9,10 @@ function toggle_custom_field_format() {
p_values = $("custom_field_possible_values");
p_searchable = $("custom_field_searchable");
p_default = $("custom_field_default_value");
-
+
p_default.setAttribute('type','text');
Element.show(p_default.parentNode);
-
+
switch (format.value) {
case "list":
Element.hide(p_length.parentNode);
@@ -79,7 +79,7 @@ function toggle_custom_field_format() {
<div class="box">
<% case @custom_field.class.name
when "IssueCustomField" %>
-
+
<fieldset><legend><%=l(:label_tracker_plural)%></legend>
<% for tracker in @trackers %>
<%= 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_filter %></p>
<p><%= f.check_box :searchable %></p>
-
+
<% when "UserCustomField" %>
<p><%= f.check_box :is_required %></p>
<p><%= f.check_box :visible %></p>
@@ -107,7 +107,7 @@ when "IssueCustomField" %>
<% else %>
<p><%= f.check_box :is_required %></p>
-
+
<% end %>
<%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %>
</div>