%= render :partial => "users/shared/links" %> <%= simple_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { :method => :post, class: 'form-horizontal' } ) do |f| %> <%= devise_error_messages! %>