Orbit/app/views/admin/users_new_interface/edit.html.erb

32 lines
1.4 KiB
Plaintext
Raw Normal View History

2012-10-15 07:30:48 +00:00
<% content_for :side_bar do %>
<%= render :partial => 'layouts/side_bar', :locals => {:link_name => t(:member_), :link_url => admin_site_site_info_path(@site), :icon => 'icons-users', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
2012-10-15 07:30:48 +00:00
<% end %>
2012-10-08 08:58:33 +00:00
<% content_for :page_specific_css do -%>
<%= stylesheet_link_tag "member" %>
<%= stylesheet_link_tag "site-map" %>
<% 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" %>
2012-11-12 02:41:41 +00:00
<%= javascript_include_tag "inc/ploy_input_field" %>
<%= javascript_include_tag "inc/input_module" %>
2012-11-15 09:23:39 +00:00
<%= javascript_include_tag "inc/attribute_panel_select" %>
<%= javascript_include_tag "inc/attribute_onoff" %>
2012-10-08 08:58:33 +00:00
<% end -%>
<%= content_tag :div,:class=>"user-role site-map role-block" do%>
2012-10-08 08:58:33 +00:00
<%= form_for @user, :url => admin_users_new_interface_path(@user), :html => { :multipart => true } do |f| %>
<%= f.error_messages %>
2013-02-20 03:12:08 +00:00
<%= render :partial => 'user_basic', :locals => {:f => f}%>
2012-10-08 08:58:33 +00:00
<%= render :partial => 'form', :locals => { :f => f } %>
<div class="button_bar">
<%= link_back %>
<%= link_to t(:update_), "#", :onclick=>"$('#edit_user_#{@user.id}').submit()" %>
2012-10-08 08:58:33 +00:00
</div>
<% end -%>
<% end -%>