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}s_path") 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 => true } %>
|
|
|
|
<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('create'), "#", :onclick=>"$('#new_#{@attribute_type}').submit()" %>
|
2011-12-10 10:12:39 +00:00
|
|
|
</div>
|
|
|
|
<% end -%>
|
2011-12-18 02:07:42 +00:00
|
|
|
</div>
|