app/views/phcmemberspro/member/addresses/_form.html.erb in phcmemberspro-91.4.0 vs app/views/phcmemberspro/member/addresses/_form.html.erb in phcmemberspro-92.0.0

- old
+ new

@@ -1,46 +1,46 @@ -<!-- Form - Member - Address --> +<!-- -PHCDEV- Form - Member - Address --> <%= form_with(model: [ @member_profile, @member_address], url: form_url, local: true) do |form| %> - <!-- PHCNotifi Render Validation --> - <%= render 'phcnotifi/default/validations', :object => @member_address %> - <!-- PHCNotifi Render Validation --> + <!-- -PHCDEV- Form Validation --> + <%= render "phcdevworks_notifications/bootstrap/validations", :object => @member_address %> + <!-- -PHCDEV- Form Validation --> - <!-- Form Input Fields --> - <div class="form-group field_with_errors"> - <%= form.label :address_address_line_1, "Address Line1" %> - <%= form.text_field :address_address_line_1, class: "form-control", placeholder: "Address Line 1 - Street Address" %> + <!-- -PHCDEV- Form Input Fields --> + <div class="mb-3"> + <%= form.label :address_address_line_1, "Address Line1", class: "form-label" %> + <%= form.text_field :address_address_line_1, placeholder: "Address Line 1 - Street Address", class: "form-control" %> </div> - <div class="form-group field_with_errors"> - <%= form.label :address_address_line_2, "Address Line2" %> - <%= form.text_field :address_address_line_2, class: "form-control", placeholder: "Address Line 2 - Box - Suite - Floor" %> + <div class="mb-3"> + <%= form.label :address_address_line_2, "Address Line2", class: "form-label" %> + <%= form.text_field :address_address_line_2, placeholder: "Address Line 2 - Box - Suite - Floor", class: "form-control" %> </div> - <div class="form-group field_with_errors"> - <%= form.label :address_city, "City" %> - <%= form.text_field :address_city, class: "form-control", placeholder: "City" %> + <div class="mb-3"> + <%= form.label :address_city, "City", class: "form-label" %> + <%= form.text_field :address_city, placeholder: "City", class: "form-control" %> </div> - <div class="form-group field_with_errors"> - <%= form.label :address_province, "Province/State" %> - <%= form.text_field :address_province, class: "form-control", placeholder: "Province/State" %> + <div class="mb-3"> + <%= form.label :address_province, "Province/State", class: "form-label" %> + <%= form.text_field :address_province, placeholder: "Province/State", class: "form-control" %> </div> - <div class="form-group field_with_errors"> - <%= form.label :address_country, "Country" %> - <%= form.text_field :address_country, class: "form-control", placeholder: "Country" %> + <div class="mb-3"> + <%= form.label :address_country, "Country", class: "form-label" %> + <%= form.text_field :address_country, placeholder: "Country", class: "form-control" %> </div> - <div class="form-group field_with_errors"> - <%= form.label :address_postal_code, "PostalCode" %> - <%= form.text_field :address_postal_code, class: "form-control", placeholder: "PostalCode" %> + <div class="mb-3"> + <%= form.label :address_postal_code, "PostalCode", class: "form-label" %> + <%= form.text_field :address_postal_code, placeholder: "PostalCode", class: "form-control" %> </div> - <div class="form-group field_with_errors"> - <%= form.label :address_type, "Address Type" %> - <%= form.select :address_type, [['Billing Address','Billing'],['Street Address','Street'],['Mailing Address','Mailing'],['Home Address','Home'],['Business Address','Business']], {}, class: "form-control" %> + <div class="mb-3"> + <%= form.label :address_type, "Address Type", class: "form-label" %> + <%= form.select :address_type, [["Billing Address","Billing"],["Street Address","Street"],["Mailing Address","Mailing"],["Home Address","Home"],["Business Address","Business"]], {}, class: "form-control" %> </div> - <!-- Form Input Fields --> + <!-- -PHCDEV- Form Input Fields --> - <!-- Form Submition Button --> + <!-- -PHCDEV- Form Submition Button --> <div class="actions"> <%= form.submit class: "btn btn-primary btn-md" %> </div> - <!-- For Submition Button --> + <!-- -PHCDEV- Form Submition Button --> <% end %> -<!-- Form - Member - Address --> +<!-- -PHCDEV- Form - Member - Address -->