summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2009-10-21 22:34:22 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2009-10-21 22:34:22 +0000
commitac4937a76755de2f9b6a83f6160efa0fde2d03aa (patch)
tree611bf32cf6c377b65e3362583f4846e1f6a69210 /app/views/custom_fields
parent29ab7b4108cb45bc4efb44253419fa2e658ac3e9 (diff)
downloadredmine-ac4937a76755de2f9b6a83f6160efa0fde2d03aa.tar.gz
redmine-ac4937a76755de2f9b6a83f6160efa0fde2d03aa.zip
Enumerations can now have custom fields defined on them. #4077
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2945 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r--app/views/custom_fields/_form.rhtml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/custom_fields/_form.rhtml b/app/views/custom_fields/_form.rhtml
index b9d7ec017..f82d28784 100644
--- a/app/views/custom_fields/_form.rhtml
+++ b/app/views/custom_fields/_form.rhtml
@@ -94,6 +94,9 @@ when "IssueCustomField" %>
<% when "TimeEntryCustomField" %>
<p><%= f.check_box :is_required %></p>
+<% 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>