<% content_for :side_bar do %>
  <%= render :partial => 'admin/users_new_interface/side_bar' %>
<% end %>

<% content_for :page_specific_css do -%>
    <%= 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" %>
<% end -%>
<% content_for :page_specific_javascript do -%>
    <%= 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/textarea-lang-btn.js" %>
    <%= javascript_include_tag "lib/member/role-forms.js" %>
<% end -%>



<%= form_for @user, :url => admin_users_new_interface_index_path, :html => { :multipart => true, :class=>"form-horizontal main-forms", :id=>"user-forms" },:method => :post do |f| %>
<fieldset>
  <div id="basic-area" class="input-area">

  <%= 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=>"$('#user-forms').submit()" %>
    <%= link_back('btn') %>
  </div>

</fieldset>  
<% end -%>