30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
<% content_for :side_bar do %>
|
|
<%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
|
|
<% end %>
|
|
|
|
<% content_for :page_specific_css do -%>
|
|
<%= stylesheet_link_tag "member" %>
|
|
<%= stylesheet_link_tag "site-map" %>
|
|
<%= stylesheet_link_tag "isotope" %>
|
|
<% end -%>
|
|
<% content_for :page_specific_javascript do -%>
|
|
<%= javascript_include_tag "/static/jquery.cycle.all.latest.js" %>
|
|
<%= javascript_include_tag "inc/modal-preview" %>
|
|
<%= javascript_include_tag "lib/contenteditable" %>
|
|
<% end -%>
|
|
|
|
|
|
<%= content_tag :div,:class=>"user-role site-map" do%>
|
|
<%= form_for @user, :url => admin_users_new_interface_index_path, :html => { :multipart => true },:method => :post do |f| %>
|
|
|
|
<%= f.error_messages %>
|
|
<%= render :partial => 'user_basic', :locals => {:f => f}%>
|
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
|
<div class="button_bar">
|
|
<%#= link_back %>
|
|
<%#= link_to t('update'), "#", :onclick=>"$('#edit_user_#{@user.id}').submit()" %>
|
|
<%= f.submit%>
|
|
</div>
|
|
<% end -%>
|
|
|
|
<% end -%> |