Sha256: 77a5dbae6033f009ab47331e8232c4ed5eae77c61185aeb2c246e00eabbcecc3

Contents?: true

Size: 1.31 KB

Versions: 4

Compression:

Stored size: 1.31 KB

Contents

<%
@page_thumbnail = "spud/admin/users_thumb.png"
@page_name = "First Time Setup"
%>

<% content_for :detail do %>
	<% form_for @spud_user, :url => admin_setup_path, :html => {:class => "form-horizontal"} do |f| %>
		<%= error_messages_for f.object %>
		<fieldset>
			<legend>New Admin Account</legend>
				<div class="control-group">
					<%= f.label :login, "Login", :class => "control-label" %>
					<div class="controls">
						<%= f.text_field :login %>
					</div>
				</div>
				<div class="control-group">
					<%= f.label :email, "Email", :class => "control-label" %>
					<div class="controls">
						<%= f.text_field :email %>
					</div>
				</div>
				<div class="control-group">
					<%= f.label :password, "Password", :class => "control-label" %>
					<div class="controls">
						<%= f.password_field :password %>
						<p class="help-block">Password must be at least 8 characters</p>
					</div>
				</div>
				<div class="control-group">
					<%= f.label :password_confirmation, "Confirm", :class => "control-label" %>
					<div class="controls">
						<%= f.password_field :password_confirmation %>
						<p class="help-block">Retype your password here.</p>
					</div>
				</div>
		</fieldset>

		<div class="form-actions">
			<%=submit_tag "Create Admin Account", :class=>"btn btn-primary"%>
		</div>
		
	<% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tb_core-1.1.4 app/views/admin/setup/new.html.erb
tb_core-1.1.2 app/views/admin/setup/new.html.erb
tb_core-1.1.1 app/views/admin/setup/new.html.erb
tb_core-1.1.0 app/views/admin/setup/new.html.erb