summaryrefslogtreecommitdiffstats
path: root/app/views/enumerations/_form.rhtml
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/enumerations/_form.rhtml
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/enumerations/_form.rhtml')
-rw-r--r--app/views/enumerations/_form.rhtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/enumerations/_form.rhtml b/app/views/enumerations/_form.rhtml
index dac0c9331..741bbc5d9 100644
--- a/app/views/enumerations/_form.rhtml
+++ b/app/views/enumerations/_form.rhtml
@@ -9,4 +9,8 @@
<p><label for="enumeration_is_default"><%=l(:field_is_default)%></label>
<%= check_box 'enumeration', 'is_default' %></p>
<!--[eoform:optvalue]-->
+
+<% @enumeration.custom_field_values.each do |value| %>
+ <p><%= custom_field_tag_with_label :enumeration, value %></p>
+<% end %>
</div> \ No newline at end of file