<div id="categories_index">
	<%= render 'index' %>
</div>

<div id="pageslide">
  <div class="page-title clearfix">
    <a class="pull-right" href="javascript:$.pageslide.close()">
      <i class="icons-arrow-left-2"></i>
    </a>
    <span></span>
  </div>
  <div class="view-page">
    <div class="nano">
      <div class="content">
        <%= form_for :category, url: nil, remote: true do |f| %>
          <fieldset>
            <%= render :partial => "form", :locals => { :f => f } %>
            <div class="form-actions">
              <a href="javascript:$.pageslide.close()" class="btn btn-small"><%= t(:cancel) %></a>
              <%= f.submit t(:submit), class: 'btn btn-primary btn-small' %>
            </div>
          </fieldset>
        <% end %>
      </div>
    </div>
  </div>
</div>