Sha256: a8b764662b26c9aa23c434005ce2884603f4dcb9023a347278f5012937efc830

Contents?: true

Size: 825 Bytes

Versions: 4

Compression:

Stored size: 825 Bytes

Contents

.span12
  = render :partial => "mokio/common/notice"
  .box
    = box_title do
      = bt("new_menu_position_title", @menu.class)
    = common_form do
      .row-fluid
        = simple_form_for @menu, :url => create_menu_position_menus_path, :html => { :class => 'form-horizontal' } do |f|

          .row-fluid
            = f.hidden_field :fake, :value => true
            = f.input :lang_id, collection: Mokio::Lang.all.collect{|lang| [bt(lang.name), lang.id]},  include_blank: false, disabled: !@menu.display_editable_field?('lang_id')
            = f.input :name


          - cache [:form_buttons, obj] do
            .form-actions
              = btn_submit bt("save")
              = btn_submit bt("save_and_create_new"), true
              = btn_cancel "#{engine_root}#{obj.class.to_s.tableize.gsub("mokio/", "")}"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mokio-0.0.15 app/views/mokio/menus/new_menu_position.slim
mokio-0.0.14 app/views/mokio/menus/new_menu_position.slim
mokio-0.0.13 app/views/mokio/menus/new_menu_position.slim
mokio-0.0.12 app/views/mokio/menus/new_menu_position.slim