Sha256: d7630d13d299eec1552369f4297ea78b566f44b1c69c2624739b6bc8ff4599ea

Contents?: true

Size: 928 Bytes

Versions: 14

Compression:

Stored size: 928 Bytes

Contents

<%= adminpanel_form_for(resource, :url => {:action => :create, :model => params[:model], :model_name => params[:model_name], :currentcontroller => params[:currentcontroller], :belongs_request => params[:belongs_request]}, :remote => true, :html => {:class => "form-horizontal", :id => "new-category-form"}) do |f| -%>
  <div class="row-fluid">
    <div class="modal-body">
        <%= render 'shared/error_messages', :object => resource %>
        <%= render 'shared/form_fields', :f => f, :remote_request => true %>
        <%= f.hidden_field :model, :value => params[:model] %>
    </div>
  </div>
  <div class="modal-footer">
    <button id="modal-button" class="btn" data-dismiss="modal" aria-hidden="true"><%= I18n.t('action.close') %></button>
    <%= f.submit t("action.add") + " " + @model.display_name, data:{:disable_with => t("action.submitting")}, :id =>"new-#{@model.name.demodulize}-button" %>
  </div>
<% end -%>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
adminpanel-2.2.5 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.2.4 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.2.3 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.2.2 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.2.1 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.2.0 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.1.7 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.1.6 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.1.5 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.1.3 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.1.2 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.1.1 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.1.0 app/views/adminpanel/categories/_category_form.html.erb
adminpanel-2.0.1 app/views/adminpanel/categories/_category_form.html.erb