Skip to content

Commit

Permalink
fixed label for attribute mismatches
Browse files Browse the repository at this point in the history
  • Loading branch information
FireLemons committed Nov 15, 2023
1 parent 36750be commit 788bc8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/users/_languages.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<%= form_for volunteer, url: add_language_users_path do |form| %>
<div class="row select-style-1 mt-3">
<div class="col-lg-12">
<label><h5>Add Language</h5></label>
<h5><%= form.label :languages, "Add Language" %></h5>
</div>
<div class="col-lg-4">
<div class="select-position">
Expand Down
4 changes: 2 additions & 2 deletions app/views/users/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

<div class="input-style-1">
<%= form.fields_for :address, address do |f| %>
<%= f.label :address, "Address" %>
<%= f.label :content, "Address" %>
<%= f.text_field :content, class: "form-control" %>
<% end %>
</div>
Expand Down Expand Up @@ -81,7 +81,7 @@
<%= form_for(@user, as: :user, url: {action: "update_password"}) do |f| %>
<div class="input-style-1">
<%= f.label :current_password, "Current Password" %><br>
<%= f.password_field :current_password, autocomplete: "off", class: "form-control", id:"current_password" %>
<%= f.password_field :current_password, autocomplete: "off", class: "form-control" %>
</div>
<div class="input-style-1">
<%= f.label :password, "New Password" %><br>
Expand Down

0 comments on commit 788bc8d

Please sign in to comment.