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-23 10:34:21 +00:00
|
|
|
<% content_for :secondary do %>
|
2012-11-26 02:08:06 +00:00
|
|
|
<%= render 'admin/users_new_interface/side_bar' %>
|
2011-12-23 10:34:21 +00:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div id="profile">
|
|
|
|
<%= form_for @attribute, :url => eval("admin_#{@attribute_type}s_path") do |f| %>
|
|
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "admin/#{@attribute_type}s/form", :locals => { :f => f, :is_new => true } %>
|
|
|
|
<div class="button_bar">
|
|
|
|
<%= link_back %>
|
|
|
|
<%= link_to t('create'), "#", :onclick=>"$('#new_#{@attribute_type}').submit()" %>
|
|
|
|
</div>
|
|
|
|
<% end -%>
|
|
|
|
</div>
|