Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 577 Bytes
<h2><%= t 'devise.invitations.edit.header' %></h2>
<%= form_for resource, :as => resource_name, :url => invitation_path(resource_name), :html => { :method => :put } do |f| %>
<%= devise_error_messages! %>
<%= f.hidden_field :invitation_token %>
<% if f.object.class.require_password_on_accepting %>
<p><%= f.label :password %><br />
<%= f.password_field :password %></p>
<p><%= f.label :password_confirmation %><br />
<%= f.password_field :password_confirmation %></p>
<% end %>
<p><%= f.submit t("devise.invitations.edit.submit_button") %></p>
<% end %>