Skip to content

Instantly share code, notes, and snippets.

@kekukeku
Forked from xdite/new.en.html.erb
Last active January 31, 2018 04:45
Show Gist options
  • Select an option

  • Save kekukeku/d0ee1cf1bf07c3312be00f210f78a327 to your computer and use it in GitHub Desktop.

Select an option

Save kekukeku/d0ee1cf1bf07c3312be00f210f78a327 to your computer and use it in GitHub Desktop.
<div class = "row">
<div class = "referrals-registrations">
<div class = "referrals-registrations-image">
<div class = "container">
<div class = "row">
<div class = "col-md-12">
<p class = "text-center"> </ p>
</div>
</div>
</div>
</div>
<div class = "container referrals-registrations-form">
<div class = "referral-width">
<div class = "row referrals-box">
<h4>
<%= @referral_user.name %> Send you a signup invitation.
</h4>
<p class = "registrations-tip"> Sign up now with the invitation link to get exclusive newbie bonus!</p>
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<% = f.input: email, required: true, label: false, autofocus: true,: placeholder => "E-mail"%>
<% = f.input: password, class: "form-control devise-form", required: true, label: false,: placeholder => "Password, with at least 8 digit of combination of alphabets and numbers."%>
<% = f.input: password_confirmation, class: "form-control", required: true, label: false,: placeholder => "Confirm password"%>
<% = f.button: submit, "Sign up now for exclusive bonus.":class => "btn btn-default btn-registrations" %>
<% end %>
</div>
</div>
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment