-
-
Save carlqt/8877706 to your computer and use it in GitHub Desktop.
Additional info for SO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul id="cbp-bislideshow" class="cbp-bislideshow"> | |
<li> | |
<%= image_tag "blur1.jpg" %> | |
</li> | |
<li> | |
<%= image_tag "blur2.jpg" %> | |
</li> | |
</ul> | |
<% provide(:title, 'Sign Up') %> | |
<% @user.build_doctor %> | |
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %> | |
<%= devise_error_messages! %> | |
<div class="sign-up-wrapper divided-wrapper cf"> | |
<div class="left-section"> | |
<h3 class="section-title">JOIN US AND LET'S CHANGE THINGS</h3> | |
<div class="row cf"> | |
<div class="w49 pull-left"> | |
<%= f.text_field :firstname, class: "input-text personal ", placeholder: 'FIRSTNAME' %> | |
</div> | |
<div class="w49 pull-right"> | |
<%= f.text_field :lastname, class: "input-text personal", placeholder: 'LASTNAME' %> | |
</div> | |
<%= f.hidden_field :role, value: :doctor %> | |
</div> | |
<%= f.fields_for :doctor do |p| %> | |
<div class="row"> | |
<%= p.collection_select(:specialization_id, Specialization.order(:order), :id, :description, | |
{include_blank: ''}, | |
class: "js-specialization js-select2", id: "specialization-select", "data-placeholder" => "SPECIALIZATION") | |
%> | |
</div> | |
<div class="row"> | |
<%= p.collection_select(:institution_id, Institution.order(:order), :id, :description, | |
{include_blank: ''}, | |
class: "js-institution js-select2", id: "institution-select", "data-placeholder" => "INSTITUTION") | |
%> | |
</div> | |
<div class="row"> | |
<%= p.text_field :license_number, class: "input-text personal ", placeholder: 'LICENSE NUMBER' %> | |
</div> | |
<% end %> | |
<span class="remind bottom-message"> ONCE INSIDE DON'T FORGET TO UPDATE YOUR PROFILE WITH MORE DETAILS </span> | |
</div> | |
<div class="right-section"> | |
<h3 class="section-title"></h3> | |
<div class="row"> | |
<%= f.text_field :email, class: "input-text personal ", placeholder: 'EMAIL' %> | |
</div> | |
<div class="row"> | |
<%= f.password_field :password, class: "input-text personal ", placeholder: 'PASSWORD' %> | |
</div> | |
<div class="row"> | |
<%= f.password_field :password_confirmation, class: "input-text personal ", placeholder: 'CONFIRM PASSWORD' %> | |
</div> | |
<div class="row cf"> | |
<%= f.submit class: 'btn-join btn', value: 'JOIN NOW' %> | |
</div> | |
<div class="row"> | |
<a href="#" class="btn-flip-social">SIGN UP WITH FACEBOOK / TWITTER ACCOUNT?</a> | |
</div> | |
</div> | |
</div> | |
<% end %> | |
<%= render "devise/shared/links" %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment