orbit-basic/app/views/devise/registrations/new.html.erb

41 lines
1.4 KiB
Plaintext

<%= stylesheet_link_tag "sign_up" %>
<section id="main-wrap">
<div class="sign-up have-other-sign-in">
<% flash.each do |key, msg| %>
<%= content_tag :p, msg, :class => [key, "alert alert-error in fade"] %>
<% end %>
<div class="form">
<h3 class="login-logo">Sign up with Orbit</h3>
<div class="form-block">
<div class="form-list clearfix">
<%= form_for resource, :as => resource_name, :url => registration_path(resource_name), :html => {:class => 'content'} do |f| %>
<label for="user_email">User ID</label>
<div class="control-group clear">
<%= f.text_field :user_id, :placeholder => t("users.user_id"), :id=>"user_email" %>
</div>
<label for="user_password">Password</label>
<div class="control-group clear">
<%= f.password_field :password, :placeholder => t(:dots), :id=>"user_password" %>
</div>
<label for="user_password">Confirm Password</label>
<div class="control-group clear">
<%= f.password_field :password, :placeholder => t(:dots), :id=>"confirm_user_password" %>
</div>
<h3 class="line"></h3>
<div class="pull-right">
<%= content_tag :button, t(:register), :type => :submit, :class => 'btn btn-primary' %>
</div>
<div class="pull-left links">
<%= render :partial => "devise/shared/links" %>
</div>
<% end %>
</div>
</div>
</div>
</div>
</section>