view_groups_form_hook_patch.diff

Max Haventon, 2012-03-21 14:53

Download (519 Bytes)

View differences:

app/views/groups/_form.html.erb (revision 48)
2 2

  
3 3
<div class="box tabular">
4 4
  <p><%= f.text_field :lastname, :label => :field_name %></p>
5
  <%= call_hook(:view_groups_form, :group => @group, :form => f) %>
5 6
  <% @group.custom_field_values.each do |value| %>
6 7
    <p><%= custom_field_tag_with_label :group, value %></p>
7 8
  <% end %>