36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
<section class="supplimental">
|
|
<div class="wrapper">
|
|
<%= form_for @user, :url => '/user', :html => { :class => 'form-horizontal' } do |f| %>
|
|
<fieldset>
|
|
<legend>Your new account</legend>
|
|
|
|
<div class="control-group <%= 'error' if @user.errors[:nickname].present? %>">
|
|
<%= f.label :nickname, 'Username', :class => 'control-label' %>
|
|
<div class="controls">
|
|
<%= f.text_field :nickname, :class => 'text_field' %>
|
|
<span class="help-inline"><%= @user.errors[:nickname].first %></span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
<%= f.label :name, 'Real name', :class => 'control-label' %>
|
|
<div class="controls">
|
|
<%= f.text_field :name, :class => 'text_field' %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
<%= f.label :email, :class => 'control-label' %>
|
|
<div class="controls">
|
|
<%= f.text_field :email, :class => 'text_field' %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<%= f.submit 'Create', :class => 'btn btn-primary' %>
|
|
</div>
|
|
</fieldset>
|
|
<% end %>
|
|
</div>
|
|
</section>
|