<%= setup_context :object => @group, :title => (!@group.description.empty? ? @group.description : "#{I18n.t("actions.edit")} #{I18n.t("group._singular")}") %> <%= form_for @group, :as => "group", :url => {:action => :update, :id => @group.id}, :html => {:class => 'form-horizontal aspace-record-form'}.merge(update_monitor_params(@group)) do |f| %>
<%= render_aspace_partial :partial => "toolbar" %>

<%= !@group.description.empty? ? @group.description : "#{I18n.t("actions.edit")} #{I18n.t("group._singular")}" %> <%= I18n.t("group._singular") %>

<%= form_context :group, @group do |form| %> <%= render_aspace_partial :partial => "shared/form_messages", :locals => {:form => form} %> <%= render_aspace_partial :partial => "groups/form", :locals => {:form => form} %> <% end %>
<% end %>