This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2011-12-10 10:12:39 +00:00
|
|
|
<% content_for :secondary do %>
|
|
|
|
<%= render 'admin/users/side_bar' %>
|
|
|
|
<% end %>
|
|
|
|
|
2011-12-18 02:07:42 +00:00
|
|
|
<div id="profile">
|
|
|
|
<%= form_for @attribute, :url => eval("admin_#{@attribute_type}_path(@attribute)") do |f| %>
|
2011-12-10 10:12:39 +00:00
|
|
|
<%= f.error_messages %>
|
2011-12-18 02:07:42 +00:00
|
|
|
<%= render :partial => "admin/#{@attribute_type}s/form", :locals => { :f => f, :is_new => false } %>
|
|
|
|
<div class='button_bar'>
|
2011-12-10 10:12:39 +00:00
|
|
|
<%= link_back %>
|
2011-12-18 02:07:42 +00:00
|
|
|
<%= link_to t('update'), "#", :onclick=>"$('#edit_#{@attribute_type}_#{@attribute.id}').submit()" %>
|
2011-12-10 10:12:39 +00:00
|
|
|
</div>
|
2011-12-18 02:07:42 +00:00
|
|
|
<% end %>
|
2011-12-10 10:12:39 +00:00
|
|
|
</div>
|