orbit-basic/edit.html.erb

14 lines
450 B
Plaintext
Raw Normal View History

2011-12-10 10:03:32 +00:00
<% content_for :secondary do %>
<%= render 'side_bar' %>
<% end %>
<div id="porfile">
<%= form_for @user, :url => admin_user_path(@user), :html => { :multipart => true } do |f| %>
<%= f.error_messages %>
<%= render :partial => 'form', :locals => { :f => f } %>
<div class="button_bar">
<%= link_to t('update'), "#", :onclick=>"$('#edit_user_#{@user.id}').submit()" %>
<%= link_back %>
</div>
<% end -%>
</div>