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

42 lines
1.6 KiB
Plaintext
Raw Normal View History

2012-10-15 07:30:48 +00:00
<% content_for :side_bar do %>
2013-08-09 07:07:05 +00:00
<%= render :partial => 'admin/users_new_interface/side_bar' %>
2012-10-15 07:30:48 +00:00
<% end %>
2012-10-15 05:54:29 +00:00
<% content_for :page_specific_css do -%>
2013-08-09 07:07:05 +00:00
<%= stylesheet_link_tag "lib/wrap-nav.css" %>
<%= stylesheet_link_tag "lib/pageslide.css" %>
<%= stylesheet_link_tag "lib/main-forms.css" %>
<%= stylesheet_link_tag "lib/fileupload.css" %>
<%= stylesheet_link_tag "lib/togglebox.css" %>
2012-10-15 05:54:29 +00:00
<% end -%>
<% content_for :page_specific_javascript do -%>
2013-08-09 07:07:05 +00:00
<%= javascript_include_tag "lib/jquery-ui-1.10.3.custom.min.js" %>
<%= javascript_include_tag "lib/jquery.tmpl.min.js" %>
<%= javascript_include_tag "lib/bootstrap-fileupload.js" %>
<%= javascript_include_tag "lib/bootstrap-datetimepicker.js" %>
<%= javascript_include_tag "lib/datetimepicker/date.time.picker.js" %>
<%= javascript_include_tag "lib/member/role-forms.js" %>
<%= javascript_include_tag "lib/member/textarea-lang-btn.js" %>
2012-10-15 05:54:29 +00:00
<% end -%>
2013-08-09 07:07:05 +00:00
<%= form_for @user, :url => admin_users_new_interface_index_path, :html => { :multipart => true, :class=>"form-horizontal main-forms", :id=>"new-user-forms" },:method => :post do |f| %>
<fieldset>
<div id="basic-area" class="input-area">
2012-10-15 05:54:29 +00:00
2013-08-09 07:07:05 +00:00
<%= f.error_messages %>
<%= render :partial => 'user_basic_passwd', :locals => {:f => f}%>
<%= render :partial => 'user_basic', :locals => {:f => f}%>
<%= render :partial => 'form', :locals => { :f => f } %>
</div>
<div class="form-actions">
<%#= f.submit%>
<%= link_to t(:new_), "#", :class=>"btn btn-primary returnDecide", :onclick=>"$('#new-user-forms').submit()" %>
<%= link_back('btn') %>
</div>
</fieldset>
2012-10-15 05:54:29 +00:00
<% end -%>