<%= _('New product or service') %>
<% remote_form_for :product, @product,
:loading => "open_loading('#{ _('loading...') }')",
:update => "request_result_message",
:url => {:action => 'new'},
:html => {:method => 'post', :id => 'category_form'} do |f| %>
<%= _('Select the category of the new product or service') %>
<%= categories_container(select_for_new_category(@categories, @level)) %>
<%= button :back, _('Back to the product listing'), :action => 'index' %>
<%= submit_button(:save, _('Save and continue'), :id => 'save_and_continue') %>
<%= ui_icon('ui-icon-alert') %>
<%= _('This category does not allow registration of products, select a more specific category') %>
<% end %>
<% javascript_tag do %>
toggleDisabled(<%= @category && @category.accept_products? ? 'true' : 'false' %>, $('save_and_continue'))
<% end %>