2013-11-25 12:24:56 +00:00
|
|
|
<%= stylesheet_link_tag "sign_up" %>
|
|
|
|
<section id="main-wrap">
|
|
|
|
<div class="sign-up have-other-sign-in">
|
2012-02-22 06:43:24 +00:00
|
|
|
|
2013-11-25 12:24:56 +00:00
|
|
|
<% flash.each do |key, msg| %>
|
|
|
|
<%= content_tag :p, msg, :class => [key, "alert alert-error in fade"] %>
|
|
|
|
<% end %>
|
2012-02-22 06:43:24 +00:00
|
|
|
|
2013-11-25 12:24:56 +00:00
|
|
|
<div class="form">
|
|
|
|
<h3 class="login-logo">Sign up with Orbit</h3>
|
|
|
|
<div class="form-block">
|
|
|
|
<div class="form-list clearfix">
|
2012-02-22 06:43:24 +00:00
|
|
|
|
2013-11-25 12:24:56 +00:00
|
|
|
<%= 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>
|
2013-11-28 10:06:14 +00:00
|
|
|
|
|
|
|
<label for="user_email">Email</label>
|
|
|
|
<div class="control-group clear">
|
|
|
|
<%= f.email_field :email, :placeholder => t("users.email"), :id=>"user_email" %>
|
|
|
|
</div>
|
|
|
|
|
2013-11-25 12:24:56 +00:00
|
|
|
<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>
|
2012-02-22 06:43:24 +00:00
|
|
|
|
2013-11-25 12:24:56 +00:00
|
|
|
</div>
|
|
|
|
</section>
|