summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields/_form.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-17 11:18:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-17 11:18:04 +0000
commit12792d8068d0ed0514e89267edefaab4df5cf2c3 (patch)
tree64aac7c729949cee91a3fb05070487870dbbccfc /app/views/custom_fields/_form.rhtml
parent99c2e989751a84b36d47de8cbe82572a61c4aa23 (diff)
downloadredmine-12792d8068d0ed0514e89267edefaab4df5cf2c3.tar.gz
redmine-12792d8068d0ed0514e89267edefaab4df5cf2c3.zip
User custom fields can now be set as editable so that users can edit them on 'My account'.
For existing user custom fields, this new attribute is set to false by default to preserve the prior behaviour (it can turned on by editing the custom field in admin area). Note: on the registration form, *required* custom fields will be displayed even if they are not defined as editable so that the account can be created. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2276 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields/_form.rhtml')
-rw-r--r--app/views/custom_fields/_form.rhtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/custom_fields/_form.rhtml b/app/views/custom_fields/_form.rhtml
index 0222ddb66..874c571bf 100644
--- a/app/views/custom_fields/_form.rhtml
+++ b/app/views/custom_fields/_form.rhtml
@@ -84,6 +84,7 @@ when "IssueCustomField" %>
<% when "UserCustomField" %>
<p><%= f.check_box :is_required %></p>
+ <p><%= f.check_box :editable %></p>
<% when "ProjectCustomField" %>
<p><%= f.check_box :is_required %></p>