diff --git a/app/views/organizations/invitations/edit.html.erb b/app/views/organizations/invitations/edit.html.erb index 9ad790101..4b4032b74 100644 --- a/app/views/organizations/invitations/edit.html.erb +++ b/app/views/organizations/invitations/edit.html.erb @@ -1,21 +1,40 @@ -

<%= t "devise.invitations.edit.header" %>

- -<%= form_for(resource, as: resource_name, url: invitation_path(resource_name), html: { method: :put }) do |f| %> - <%= f.hidden_field :invitation_token, readonly: true %> - - <% if f.object.class.require_password_on_accepting %> -
- <%= f.label :password %>
- <%= f.password_field :password %> +
+
+
+ +
+ +
+
+
+
+ <%= image_tag "brand/pet-rescue.png", class: 'mb-0', alt: 'logo-icon', height: 200, width: 200 %> +

<%= resource.organization.name %>

+
+
+

<%= t "devise.invitations.edit.header" %>

+
+
+ <% if flash[:alert] %> + + <% end%> +
+ <%= bootstrap_form_for(resource, as: resource_name, url: invitation_path(resource_name), html: { method: :put }) do |f| %> + <%= f.hidden_field :invitation_token, readonly: true %> + <% if f.object.class.require_password_on_accepting %> + <%= f.password_field :password, autofocus: true, class: 'form-control' %> + <%= f.password_field :password_confirmation, class: 'form-control' %> + <% end %> +
+
+ <%= f.submit t("devise.invitations.edit.submit_button"), class: 'btn btn-primary' %> +
+
+ <% end %> +
+
- -
- <%= f.label :password_confirmation %>
- <%= f.password_field :password_confirmation %> -
- <% end %> - -
- <%= f.submit t("devise.invitations.edit.submit_button") %>
-<% end %> +