Sha256: 07ebcc081fbd16caca63ef9d7eb2764828b1eeda99718da76db73dcea6306507

Contents?: true

Size: 785 Bytes

Versions: 5

Compression:

Stored size: 785 Bytes

Contents

<% provide(:page_title, "Nueva") %>
<% breadcrumb_add('Categorias', products_path) %>
<div class="row-fluid">
  <div class = "widget widget-padding span12">
    <div class = "widget-header"><i class = "icon-truck"></i><h5>Categoría</h5></div>
    <div class = "widget-body">
      <div class = "widget-forms clearfix">
        <%= custom_form_for(@category, :url => categories_path, :html => {:class => "form-horizontal"}) do |f| %>
          <%= render 'shared/error_messages', :object => @category %>
          <%= f.text_field :name, :label => "Nombre", :placeholder => "Nombre de la categoria" %>
      </div>
    </div>
    <div class = "widget-footer">
      <%= f.submit "Agregar", :disable_with => 'Submiting...' %>
    </div>
      <% end -%>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminpanel-0.0.5 app/views/adminpanel/categories/new.html.erb
adminpanel-0.0.4 app/views/adminpanel/categories/new.html.erb
adminpanel-0.0.3 app/views/adminpanel/categories/new.html.erb
adminpanel-0.0.2 app/views/adminpanel/categories/new.html.erb
adminpanel-0.0.1 app/views/adminpanel/categories/new.html.erb