diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index 244df24be..1504ca908 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -1,73 +1,85 @@ - -
-
-
-

- Sign Up -

-
-
-
+
+
+
+ +
+ +
+
+
+
+ <% if Current.organization.avatar.attached? %> + <%= image_tag Current.organization.avatar, alt: current_organization_name, title: current_organization_name, class: 'rounded', height: 100, width: 100 %> + <% end %> +

<%= Current.tenant.name %>

+
+
+

Sign up

+
-
-
-
-
- <%= bootstrap_form_for(resource, as: resource_name, - url: registration_path(resource_name)) do |f| %> +
+ <% if flash[:alert] %> + + <% end%> +
+ <%= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> - <%= render "devise/shared/error_messages", resource: resource %> + <%= render "devise/shared/error_messages", resource: resource %> - <%# adopter_foster_account built in registrations controller #new %> - <%= f.fields_for :adopter_foster_account do |fields| %> - <%= fields.hidden_field :user_id %> - <% end %> + <%= f.fields_for :adopter_foster_account do |fields| %> + <%= fields.hidden_field :user_id %> + <% end %> -
- <%= f.email_field :email, - autofocus: true, - required: true, - autocomplete: "email", class: 'form-control' %> -
+
+ <%= f.email_field :email, + autofocus: true, + required: true, + autocomplete: "email", class: 'form-control' %> +
-
- <%= f.text_field :first_name, required: true, class: 'form-control' %> -
+
+ <%= f.text_field :first_name, required: true, class: 'form-control' %> +
-
- <%= f.text_field :last_name, required: true, class: 'form-control' %> -
+
+ <%= f.text_field :last_name, required: true, class: 'form-control' %> +
-
- <%= f.password_field :password, - required: true, - autocomplete: "new-password", - class: 'form-control' %> - <% if @minimum_password_length %> - (<%= @minimum_password_length %> characters minimum) - <% end %>
-
+
+ <%= f.password_field :password, + required: true, + autocomplete: "new-password", + class: 'form-control' %> + <% if @minimum_password_length %> + (<%= @minimum_password_length %> characters minimum) + <% end %>
+
-
- <%= f.check_box :tos_agreement, required: true, - class: 'me-2', label: 'I agree to the' %> - <%= link_to 'Terms and Conditions', terms_and_conditions_path, - target: '_blank', class: 'text-decoration-none' %> - & - <%= link_to 'Privacy Policy', privacy_policy_path, +
+ <%= f.check_box :tos_agreement, required: true, + class: 'me-2', label: 'I agree to the' %> + <%= link_to 'Terms and Conditions', terms_and_conditions_path, + target: '_blank', class: 'text-decoration-none' %> + & + <%= link_to 'Privacy Policy', privacy_policy_path, + target: '_blank', class: 'text-decoration-none' %> + & + <%= link_to 'Cookie Policy', cookie_policy_path, target: '_blank', class: 'text-decoration-none' %> - & - <%= link_to 'Cookie Policy', cookie_policy_path, - target: '_blank', class: 'text-decoration-none' %> -
+
-
- <%= f.submit "Create Account", class: 'btn btn-outline-dark mb-3 bigger', - data: { turbo: false } %> -
- <% end %> - <%= render "devise/shared/links" %> -
-
-
+
+
+ <%= f.submit "Create Account", class: 'btn btn-primary', + data: { turbo: false } %> +
+ <%= render "devise/shared/links" %> +
+ <% end %> +
+
+
+
diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index ac7b22bd4..7b761a661 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -9,7 +9,7 @@
- <%= image_tag "brand/pet-rescue.png", class: 'mb-0', alt: 'logo-icon', height: 100, width: 100 %> + <%= image_tag 'brand/pet-rescue.png', class: 'mb-0', alt: 'logo-icon', height: 100, width: 100 %>

<%= Current.tenant.name %>