Sha256: 7de2baadba41d99efff6aa6e6c7a81ce832ddfabdc9add3bfc405d6046d93094

Contents?: true

Size: 791 Bytes

Versions: 3

Compression:

Stored size: 791 Bytes

Contents

.form-wrap.clearfix

  = form_for @menu_item do |f|
    = f.error_messages

    .fields-full
      .sub-header.clearfix
        .button-bar.clearfix
          = render :partial => 'search'
          .admin-links
            = link_to 'all menu items', dust_menu_items_path, :class => 'border'
            = link_to "delete menu item", @menu_item, :confirm => 'Are you sure?', :method => :delete
      .content-wrapper
        .item
          = hidden_field_tag "return", params[:return]
          = hidden_field_tag 'menu_id', params[:menu_id]
          = f.label :title
          = f.text_field :title, :class => 'field'
          = f.label :url
          = f.text_field :url, :class => 'field'
          = f.label :active
          = f.check_box :active
        .item
          = f.submit

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dust-cms-0.0.07 app/views/dust/menu_items/_form.html.haml
dust-cms-0.0.06 app/views/dust/menu_items/_form.html.haml
dust-cms-0.0.05 app/views/dust/menu_items/_form.html.haml