Sha256: 7a77097c57e130d8905deed8793f6e9dcb4b29a6af4cb1677d5294fb04a1f48d
Contents?: true
Size: 812 Bytes
Versions: 83
Compression:
Stored size: 812 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="submit"><%= @nav_menu.new_record? ? t('camaleon_cms.admin.button.create_menu') : t('camaleon_cms.admin.button.update_menu') %></button> </div> <% end %>
Version data entries
83 entries across 83 versions & 2 rubygems