14 lines
495 B
Plaintext
14 lines
495 B
Plaintext
<% content_for :secondary do %>
|
|
<%= render 'admin/users_new_interface/side_bar' %>
|
|
<% 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> |