Sha256: 1d8d71e9decb456e0f6d35200cb583386c85d715345488199f2793cf9b6b99ad

Contents?: true

Size: 660 Bytes

Versions: 1

Compression:

Stored size: 660 Bytes

Contents

<%= form_for [:admin, @user] do |f| %>

	<%= render 'error_messages', object: f.object %>
	<ul class="form col2">
		<li>
			<%= f.label :name %>
			<%= f.text_field :name %>
		</li>
		<li>
			<%= f.label :password %>
			<%= f.password_field :password %>
		</li>
	</ul>
	<ul class="form col2">
		<li>
			<%= f.label :password_confirmation %>
			<%= f.password_field :password_confirmation %>
		</li>
		<li>
			<%= f.label :level %>
			<%= f.select :level, {"superadmin" => "1", "admin" => "2", "leader" => "3", "uploader" => "4", "member" => "5"} %>
		</li>
	</ul>
	<div id="clear"></div>

	<ul class="center">
		<li>
			<%= f.submit %>
		</li>
	</ul>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
snapuser-0.1.0 app/views/admin/users/_form.html.erb