Sha256: ec7c2b6dc8f2e19e3a3b9af7a243c751eaa0cab4816be503f1d803311cb760c0
Contents?: true
Size: 1.63 KB
Versions: 2
Compression:
Stored size: 1.63 KB
Contents
<div class="modal fade" id="modal-register-form"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title"><%%= t(:register, :default => "Register") %></h5> <button type="button" class="close" data-dismiss="modal">×</button> </div> <div class="modal-body"> <%% resource ||= <%= model.camelize %>.new %> <%%= form_for(resource, :as => '<%= model %>', :url => registration_path('<%= model %>'), :html => { :class => "form-horizontal" }) do |f| %> <%% begin %> <%%= devise_error_messages! %> <%% rescue %> <%% end %> <div class="form-group"> <%%= f.label :email, t(:email, :default => "Email"), :class => "control-label" %> <div> <%%= f.email_field :email %> </div> </div> <div class="form-group"> <%%= f.label :password, t(:password, :default => "Password"), :class => "control-label" %> <div> <%%= f.password_field :password %> </div> </div> <div class="form-group"> <%%= f.label :password_confirmation, t(:password_confirmation, :default => "Password confirmation"), :class => "control-label" %> <div> <%%= f.password_field :password_confirmation %> </div> </div> <div class="form-group"> <div> <%%= f.submit t(:sign_up, :default => "Sign up"), :class => 'btn btn-light' %> </div> </div> <%% end %> </div> </div> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems