<% tabs = [] %> <%= labelled_form_for :mpog_software_plugin_myprofile, :html => { :multipart => true, :id => 'edit-form' } do |f| %> <% tabs << {:title => _("Basic"), :id => 'basic-info', :content => (render :partial => 'main_software_editor_extras')} %> <% tabs << {:title => _("Especific"), :id => 'especific-info', :content => (render :partial => 'public_software_info')} %> <%= render_tabs(tabs) %> <%= submit_button(:save, _('Save')) %> <% end %>