Sha256: 5dfbd0951c7d8098d508e1c751a9be5786dcbf07b5172f8d9260c192bf8a56b7

Contents?: true

Size: 946 Bytes

Versions: 25

Compression:

Stored size: 946 Bytes

Contents

<%= form_for [:admin, @menu] do |f| %>

  <div class="form-group">
    <%= f.hidden_field :id %>
    <%= f.label :name, :class => "col-sm-3 control-label"  %>
    <div class="col-sm-6">
      <%= f.text_field :name, size: 40, :class => "form-control" %>
      <%= errors_for @menu, :name %>
    </div>
    <div class="clearfix"></div>
  </div>

  <div class="form-group">
    <%= f.label :key, :class => "col-sm-3 control-label"  %>
    <div class="col-sm-6">
      <%= f.text_field :key, size: 40, :class => "form-control" %>
      <%= errors_for @menu, :key %>
    </div>
    <div class="clearfix"></div>
  </div>

  <div class="form-group">
    <label class="col-sm-3 control-label">&nbsp;</label>
    <div class="col-sm-6">
      <button class="btn btn-sm btn-block btn-primary"><i class="fa fa-plus"></i>&nbsp; <%= t("views.admin.menus.menu_group.add_menu_group") %></button>
    </div>
    <div class="clearfix"></div>
  </div>

<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
roroacms-0.0.7.4 app/views/roroacms/admin/menus/_menu_form.html.erb
roroacms-0.0.7.3 app/views/roroacms/admin/menus/_menu_form.html.erb
roroacms-0.0.7.2 app/views/roroacms/admin/menus/_menu_form.html.erb
roroacms-0.0.7.1 app/views/roroacms/admin/menus/_menu_form.html.erb
roroacms-0.0.7 app/views/roroacms/admin/menus/_menu_form.html.erb