You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
937 B

<%
options = {
as: resource_name,
url: registration_path(resource_name)
}
options[:wrapper] = wrapper if defined? wrapper
%>
<p>
<%= link_to user_omniauth_authorize_path(:google_oauth2),
class: 'btn btn-block btn-social btn-google-plus',
'data-no-turbolink' => true do %>
<i class="fa fa-google-plus"></i> Sign up with Google
<% end %>
</p>
<h5 class="text-info text-center text-separator">Or use the form below</h5>
<%= simple_form_for(resource, options) do |f| %>
<%= devise_error_messages! %>
<%= honeypot %>
<%= f.input :full_name, required: true %>
<%= f.input :email, required: true %>
<%= f.input :password, required: true %>
<div class="actions">
<%= f.submit "Sign up", class: 'btn btn-primary' %>
<small>
or <%= link_to 'Sign in', new_user_session_path %>
/ <%= link_to 'Forgot password', new_password_path(resource_name) %>
</small>
</div>
<% end %>