- @title = "Activate your Invite" #main.devise .container-fluid .row %header.text-center %h1 = app_name %p.p0.m0 Accept your Invite .row.mt20 %p.text-center Create a password to activate your invite. = form_for resource, as: resource_name, url: invitation_path(resource_name), html: { method: :put, class: "form-horizontal col-xs-12 col-md-6 col-md-offset-3" } do |f| | .sheet.form-sheet .sheet-inner = f.hidden_field :invitation_token = f.form_group :password do |f| = f.label :password, class: "form-label" = f.password_field :password, autofocus: true, class: "" = f.error_messages = f.form_group :password do |f| = f.label :password_confirmation, class: "form-label" = f.password_field :password_confirmation, class: "" = f.error_messages .form-actions.text-right = f.submit "Activate Invite", class: 'btn btn-outline-primary'