Skip to content

Instantly share code, notes, and snippets.

@xdite
Created January 28, 2018 02:32
Show Gist options
  • Save xdite/8737afde794f0930cf32f0adbcb5c387 to your computer and use it in GitHub Desktop.
Save xdite/8737afde794f0930cf32f0adbcb5c387 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 %> 向你发出注册邀请<br>
</h4>
<p class="registrations-tip">现在通过邀请链接注册,您将获得独有的新用户红包福利!</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 => "电子邮箱"%>
<%= f.input :password, class: "form-control devise-form" ,required: true, label:false, :placeholder => "密码,至少 8 位英文数字组合"%>
<%= f.input :password_confirmation, class: "form-control", required: true , label:false, :placeholder => "确认密码" %>
<%= f.button :submit, "立即注册 领取专享福利" , :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