Sha256: f2cd2e3e42722bfbad89ebb335f0ff4b553de26180833921ac4693d34310ec32

Contents?: true

Size: 1.26 KB

Versions: 14

Compression:

Stored size: 1.26 KB

Contents

<h2>Add a new user</h2>

<%= form_for @casein_user do |form| %>

	<div class="tfContainer">
		<%= casein_text_field form, @casein_user, :login, {:size => 30} %>
	</div>
	
	<div class="tfContainer tfContainerSecond">
		<%= casein_text_field form, @casein_user, :name %>
	</div>
	
	<div class="tfContainer">
		<%= casein_text_field form, @casein_user, :email %>
	</div>

	<div class="tfContainer tfContainerSecond">
		<%= casein_time_zone_select form, @casein_user, :time_zone, ActiveSupport::TimeZone.us_zones %>
	</div>
	
	<div class="tfContainer">
		<%= casein_select form, @casein_user, :access_level, casein_get_access_level_array, {:casein_label => "Status"} %>
	</div>

	<div class="tfContainer tfContainerSecond">
	</div>

	<div class="tfContainer">
		<%= casein_password_field form, @casein_user, :password, {:casein_label => "Password"} %>
	</div>
	
	<div class="tfContainer tfContainerSecond">
		<%= casein_password_field form, @casein_user, :password_confirmation, {:casein_label => "Repeat password"} %>
	</div>

	<div class="clearer"></div>

	<p class="submits">
		<%= form.submit "Add new user", :class => "update" %>
	</p>

<% end %>

<%= content_for :sidebar do %>
  <li><%= link_to "#{casein_show_icon('table')}Back to list".html_safe, casein_users_path %></li>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
casein-4.0.0 app/views/casein/users/new.html.erb
casein-4.0.0.beta1 app/views/casein/users/new.html.erb
casein-3.1.11 app/views/casein/users/new.html.erb
casein-3.1.10 app/views/casein/users/new.html.erb
casein-3.1.9 app/views/casein/users/new.html.erb
casein-3.1.8 app/views/casein/users/new.html.erb
casein-3.1.7 app/views/casein/users/new.html.erb
casein-3.1.6 app/views/casein/users/new.html.erb
casein-3.1.5 app/views/casein/users/new.html.erb
casein-3.1.4 app/views/casein/users/new.html.erb
casein-3.1.3 app/views/casein/users/new.html.erb
casein-3.1.2 app/views/casein/users/new.html.erb
casein-3.1.1 app/views/casein/users/new.html.erb
casein-3.1.0 app/views/casein/users/new.html.erb