Sha256: 61313f75cf4bec2d66822d764c3e6f3a1207cdc2d827b492047f4f5c526309e5
Contents?: true
Size: 1.3 KB
Versions: 6
Compression:
Stored size: 1.3 KB
Contents
<% @post_tag = CamaleonCms::PostTag.new if @post_tag.nil? %> <%= form_for @post_tag, as: "post_tag", url:{action: @post_tag.new_record? ? :create : :update} , html:{class: 'validate-post-tag cama_ajax_request'} do |f| %> <%= f.hidden_field :parent_id %> <%= f.hidden_field :taxonomy %> <div class="panel-body"> <%= render partial: 'layouts/camaleon_cms/admin/form_error', locals: {data: @post_tag} %> <div class="form-group"> <%= f.label t('camaleon_cms.admin.table.name') %><br> <%= f.text_field :name, :class => "form-control required" %> </div> <div class="form-group"> <%= f.label t('camaleon_cms.admin.table.slug') %><br> <%= f.text_field :slug, :class => "form-control slug", "data-parent" => "post_tag_name" %> </div> <div class="form-group"> <%= f.label t('camaleon_cms.admin.table.description') %><br> <%= f.text_area :description, :class => "form-control", :rows => 4 %> </div> </div> <div class="panel-footer"> <a class="btn btn-default" role="back" href="<%= url_for action: :index %>"><%= t('camaleon_cms.admin.button.back') %></a> <button class="btn btn-primary pull-right" type="submit"><%= t('camaleon_cms.admin.button.submit')%></button> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems