diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index f12ff9d36..09364a038 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -34,9 +34,9 @@ <% end %>
- (leave blank if you don't want to change it)
<%= f.password_field :password, autocomplete: "new-password", class: 'form-control', label: 'New password' %> + (leave blank if you don't want to change it)
<% if @minimum_password_length %> <%= @minimum_password_length %> characters minimum <% end %> @@ -58,11 +58,11 @@
- (we need your current password to confirm your changes)
<%= f.password_field :current_password, autocomplete: "current-password", required: true, class: 'form-control' %> + (we need your current password to confirm your changes)
diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index b789a47a2..0fe710240 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -34,18 +34,18 @@
- <% 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' %> + class: 'me-2', label: 'I agree to the' %> <%= link_to 'Terms and Conditions', terms_and_conditions_path, target: '_blank', class: 'text-decoration-none' %> & diff --git a/app/views/organizations/pets/_form.html.erb b/app/views/organizations/pets/_form.html.erb index fec9b6e12..d8292a0ee 100644 --- a/app/views/organizations/pets/_form.html.erb +++ b/app/views/organizations/pets/_form.html.erb @@ -7,10 +7,6 @@
<%= form.text_field :name, class: 'form-control' %> - - <% pet.errors.full_messages_for(:name).each do |message| %> - - <% end %>
@@ -32,37 +28,19 @@ [[t('general.male'), 'male'], [t('general.female'), 'female']], { prompt: t('general.please_select') }, class: 'form-control' %> - - <% pet.errors.full_messages_for(:sex).each do |message| %> - - <% end %>
<%= form.text_field :breed, class: 'form-control' %> - - <% pet.errors.full_messages_for(:breed).each do |message| %> - - <% end %>
<%= form.text_field :weight_from, class: 'form-control', label: 'From weight' %> - <% if pet.errors[:weight_from].any? %> - - <% end %>
<%= form.text_field :weight_to, class: 'form-control', label: 'To weight' %> - <% if pet.errors[:weight_to].any? %> - - <% end %>
<%= form.select :weight_unit, @@ -84,10 +62,6 @@ class: 'form-control' %>
- - <% pet.errors.full_messages_for(:description).each do |message| %> - - <% end %>