Sha256: d4e473e8088b56720b0f40692d1860a5a40706dac4850334ccd7d3ffece568ca

Contents?: true

Size: 1.44 KB

Versions: 6

Compression:

Stored size: 1.44 KB

Contents

<%
@page_thumbnail = "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| %>
		<%= tb_form_errors f.object %>

		<% if !Spud::Core.config.use_email_as_login %>
			<div class="form-group">
				<%= f.label :login, "Login", :class => "col-sm-2 control-label" %>
				<div class="col-sm-10">
					<%= f.text_field :login, :class=>'form-control' %>
				</div>
			</div>
		<% end %>
		
		<div class="form-group">
			<%= f.label :email, "Email", :class => "col-sm-2 control-label" %>
			<div class="col-sm-10">
				<%= f.text_field :email, :class=>'form-control' %>
			</div>
		</div>
		
		<div class="form-group">
			<%= f.label :password, "Password", :class => "col-sm-2 control-label" %>
			<div class="col-sm-10">
				<%= f.password_field :password, :class => 'form-control' %>
				<p class="help-block">Password must be at least 8 characters</p>
			</div>
		</div>

		<div class="form-group">
			<%= f.label :password_confirmation, "Confirm", :class => "col-sm-2 control-label" %>
			<div class="col-sm-10">
				<%= f.password_field :password_confirmation, :class => 'form-control' %>
				<p class="help-block">Retype your password here.</p>
			</div>
		</div>

		<div class="form-group">
	  	<div class="col-sm-offset-2 col-sm-10">
				<%= submit_tag "Create Admin Account", :class => "btn btn-primary"%>
			</div>
		</div>

	<% end %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tb_core-1.3.3 app/views/admin/setup/new.html.erb
tb_core-1.3.2 app/views/admin/setup/new.html.erb
tb_core-1.3.1 app/views/admin/setup/new.html.erb
tb_core-1.3.0 app/views/admin/setup/new.html.erb
tb_core-1.3.0.beta2 app/views/admin/setup/new.html.erb
tb_core-1.3.0.beta1 app/views/admin/setup/new.html.erb