Files
forum/app/views/devise/registrations/new.html.erb

22 lines
968 B
Plaintext
Executable File

<div class="module" style="padding:15px 25px 0px 25px;">
<div style="float:left; width:50%; height:330px; padding-right:10px;">
<h1><%= t :welcome_header%></h1>
<p><%= t :welcome_msg %></p>
<%= devise_error_messages! %>
</div>
<div style="float:right; width:45%; padding-left:30px; border-left:1px solid #e2e2e2;">
<%= form_for("user", :as => resource_name, :url => registration_path("user")) do |f| %>
<%= f.label :username %>
<%= f.text_field :username, :autocomplete => "off" %><br />
<%= f.label :email %>
<%= f.text_field :email, :autocomplete => "off" %><br />
<%= f.label :password %>
<%= f.password_field :password, :autocomplete => "off" %><br />
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation, :autocomplete => "off" %><br />
<p><%= f.submit "Sign up", :class=> 'btn btn-primary' %></p>
<% end %>
</div>
<div class="clear"></div>
</div>