Sha256: 5d425f82429f337aa3ccc5c5aa1c7b93498133f3877128f72be7ddf2e904beaf

Contents?: true

Size: 824 Bytes

Versions: 7

Compression:

Stored size: 824 Bytes

Contents

<% provide(:page_title, t("category.new")) %>
<% 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...', :id =>"new-category-button" %>
    </div>
      <% end -%>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
adminpanel-0.1.1 app/views/adminpanel/categories/new.html.erb
adminpanel-0.1.0cl.2 app/views/adminpanel/categories/new.html.erb
adminpanel-0.1.0cl app/views/adminpanel/categories/new.html.erb
adminpanel-0.1.0 app/views/adminpanel/categories/new.html.erb
adminpanel-0.0.7 app/views/adminpanel/categories/new.html.erb
adminpanel-0.0.6.1 app/views/adminpanel/categories/new.html.erb
adminpanel-0.0.6 app/views/adminpanel/categories/new.html.erb