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.

25 lines
633 B

11 years ago
<%
options = {
as: resource_name,
url: registration_path(resource_name)
11 years ago
}
options[:wrapper] = wrapper if defined? wrapper
%>
<%= 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 %>
11 years ago
<div class="actions">
<%= f.submit "Sign up", class: 'btn btn-primary' %>
<small>
or <%= link_to 'Sign in', new_user_session_path %>
/ <%= link_to 'Forgot your password?', new_password_path(resource_name) %>
</small>
</div>
<% end %>