Sha256: 004a82fff0dee4f0a2762a86c8a4f022c2f391c207b5ce8ae6e5e0efd4302739

Contents?: true

Size: 437 Bytes

Versions: 6

Compression:

Stored size: 437 Bytes

Contents

%article
  = form_for @group, :as => :group, :url => (method=='post' ? admin_groups_path : admin_group_path(@group)) do |f|
    %legend="#{t('amalgam.admin.actions.'+type)}#{Amalgam::Models::Group.model_name.human}"
    = f.label :name
    = f.text_field :name, :required => true, :autofocus => true
    %hr
    %p
      = f.submit :class => "btn-primary btn"
      = link_to t("amalgam.admin.a.back"), admin_groups_path, :class => "btn"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
amalgam-2.1.4.1 app/views/amalgam/admin/groups/_form.html.haml
amalgam-2.1.4 app/views/amalgam/admin/groups/_form.html.haml
amalgam-2.1.3.1 app/views/amalgam/admin/groups/_form.html.haml
amalgam-2.1.3 app/views/amalgam/admin/groups/_form.html.haml
amalgam-2.1.2 app/views/amalgam/admin/groups/_form.html.haml
amalgam-2.1.1 app/views/amalgam/admin/groups/_form.html.haml