Sha256: a78abfd631c285874b0a93d06b1df1ca406af3a86ef4dfd35200dfff90f840be

Contents?: true

Size: 405 Bytes

Versions: 5

Compression:

Stored size: 405 Bytes

Contents

= simple_form_for(menu, (EffectivePages.simple_form_options || {}).merge(:url => (menu.persisted? ? effective_pages.admin_menu_path(menu) : effective_pages.admin_menus_path))) do |f|
  = f.input :title, :hint => "Give this menu a title"

  .form-group
    .col-xs-12
      .form-group
        .pull-right
          = f.button :submit, 'Save'
          = link_to 'Cancel', effective_pages.admin_menus_path

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
effective_pages-0.9.2 app/views/admin/menus/_form.html.haml
effective_pages-0.9.1 app/views/admin/menus/_form.html.haml
effective_pages-0.9.0 app/views/admin/menus/_form.html.haml
effective_pages-0.8.1 app/views/admin/menus/_form.html.haml
effective_pages-0.8.0 app/views/admin/menus/_form.html.haml