Sha256: 701ed379448e813f6d6f4eff06d9d2c2bf096a8a0daaee78feb9ba28f4bc6173
Contents?: true
Size: 806 Bytes
Versions: 2
Compression:
Stored size: 806 Bytes
Contents
<%= form_for @nav_menu, url: {action: (@nav_menu.new_record? ? :create : :update), id: @nav_menu.id}, as: "nav_menu", method: (@nav_menu.new_record? ? 'post' : 'patch'), html: {id: "menu_form"} do |f| %> <div class="form-group"> <label><%= t('camaleon_cms.admin.menus.name_menu') %>:</label> <%= f.text_field :name, class: 'form-control menu-input-title' %> </div> <div class="form-group"> <label>Slug:</label> <%= f.text_field :slug, class: 'form-control menu-input-slug slug', 'data-parent' => 'nav_menu_name' %> </div> <div class="form-group text-right"> <button class="btn btn-primary" type=""><%= @nav_menu.new_record? ? t('camaleon_cms.admin.button.create_menu') : t('camaleon_cms.admin.button.update_menu') %></button> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
camaleon_cms-2.1.2.1 | app/views/camaleon_cms/admin/appearances/nav_menus/_form.html.erb |
camaleon_cms-2.1.2.0 | app/views/camaleon_cms/admin/appearances/nav_menus/_form.html.erb |