app/views/adminpanel/categories/new.html.erb in adminpanel-0.0.5 vs app/views/adminpanel/categories/new.html.erb in adminpanel-0.0.6

- old
+ new

@@ -1,6 +1,6 @@ -<% provide(:page_title, "Nueva") %> +<% 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"> @@ -9,10 +9,10 @@ <%= 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...' %> + <%= f.submit "Agregar", :disable_with => 'Submiting...', :id =>"new-category-button" %> </div> <% end -%> </div> </div> \ No newline at end of file