14 lines
511 B
Plaintext
14 lines
511 B
Plaintext
<% content_for :secondary do %>
|
|
<%= render 'admin/users/side_bar' %>
|
|
<% end %>
|
|
|
|
<div id="profile">
|
|
<%= form_for @attribute, :url => eval("admin_#{@attribute_type}_path(@attribute)") do |f| %>
|
|
<%= f.error_messages %>
|
|
<%= render :partial => "admin/#{@attribute_type}s/form", :locals => { :f => f, :is_new => false } %>
|
|
<div class='button_bar'>
|
|
<%= link_back %>
|
|
<%= link_to t('update'), "#", :onclick=>"$('#edit_#{@attribute_type}_#{@attribute.id}').submit()" %>
|
|
</div>
|
|
<% end %>
|
|
</div> |