- <%= bootstrap_form_for(resource, as: resource_name,
- url: registration_path(resource_name)) do |f| %>
+
+ <% if flash[:alert] %>
+
+ <%= 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.submit "Create Account", class: 'btn btn-outline-dark mb-3 bigger',
- data: { turbo: false } %>
-
- <% end %>
- <%= render "devise/shared/links" %>
-