<% title "Set your Password to Join" %>

Welcome to <%= community_name %>

<% if Settings::Community.tagline.present? %>

<%= Settings::Community.tagline %>

<% end %>

Finish setting up your account

<%= form_for(resource, as: resource_name, url: invitation_path(resource_name), html: { method: :put }) do |f| %> <%= render "devise/shared/error_messages", resource: resource %> <%= f.hidden_field :invitation_token, readonly: true %>
<%= f.label :name, class: "crayons-field__label" %> <%= f.text_field :name, class: "crayons-textfield" %>
<% if f.object.class.require_password_on_accepting %>
<%= f.label :password, class: "crayons-field__label" %> <%= f.password_field :password, class: "crayons-textfield" %>
<%= f.label :password_confirmation, class: "crayons-field__label" %> <%= f.password_field :password_confirmation, class: "crayons-textfield" %>
<% end %>
<%= f.submit t("devise.invitations.edit.submit_button"), class: "crayons-btn" %>
<% end %>