Sha256: 61d42539a776a87311f41f41b55c96753a1e03b4aea6a36e9c5048ab55348934

Contents?: true

Size: 332 Bytes

Versions: 6

Compression:

Stored size: 332 Bytes

Contents

= af.label :title
= af.text_field :title, :required => true
= af.label :slug
= af.text_field :slug, :required => true
%fieldset
  =af.label :group_ids
  -Amalgam::Models::Group.all.each do |group|
    %label.checkbox.inline
      =check_box_tag 'page[group_ids][]', group.id, af.object.group_ids.include?(group.id)
      =group.name

Version data entries

6 entries across 6 versions & 1 rubygems

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