diff options
Diffstat (limited to 'app/views/groups/_form.html.erb')
-rw-r--r-- | app/views/groups/_form.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/groups/_form.html.erb b/app/views/groups/_form.html.erb index 7dc224061..9d5b087e1 100644 --- a/app/views/groups/_form.html.erb +++ b/app/views/groups/_form.html.erb @@ -1,7 +1,9 @@ <%= error_messages_for @group %> <div class="box tabular"> - <p><%= f.text_field :name, :required => true, :size => 60 %></p> + <p><%= f.text_field :name, :required => true, :size => 60, + :disabled => !@group.safe_attribute?('name') %></p> + <% @group.custom_field_values.each do |value| %> <p><%= custom_field_tag_with_label :group, value %></p> <% end %> |