<% content_for :secondary do %> <%= render 'side_bar' %> <% end %> <div id="profile" class="clear"> <%= form_for @user, :url => admin_users_path, :html => { :multipart => true } do |f| %> <%= f.error_messages %> <%= render :partial => 'form', :locals => { :f => f } %> <div class="button_bar"> <%= link_back %> <%= link_to t('create'), "#", :onclick=>"$('#new_user').submit()" %> </div> <% end -%> </div>