app/views/phcmembers/member/profiles/_form.html.erb in phcmembers-67.5.0 vs app/views/phcmembers/member/profiles/_form.html.erb in phcmembers-68.0.0
- old
+ new
@@ -1,42 +1,42 @@
-<!-- Form - Member - Profile -->
+<!-- -PHCDEV- Form - Member - Profile -->
<%= form_with(model: @member_profile, local: true) do |form| %>
- <!-- PHCNotifi Render Validation -->
- <%= render 'phcnotifi/default/validations', :object => @member_profile %>
- <!-- PHCNotifi Render Validation -->
+ <!-- -PHCDEV- Form Validation -->
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @member_profile %>
+ <!-- -PHCDEV- Form Validation -->
- <!-- Form Input Fields -->
- <div class="form-group field_with_errors">
- <%= form.label :member_first_name, "First Name*" %>
- <%= form.text_field :member_first_name, class: 'form-control', placeholder: 'First Name' %>
+ <!-- -PHCDEV- Form Input Fields -->
+ <div class="mb-3">
+ <%= form.label :member_first_name, "First Name*", class: "form-label" %>
+ <%= form.text_field :member_first_name, class: "form-control", placeholder: "First Name", class: "form-control masked" %>
</div>
- <div class="form-group field_with_errors">
- <%= form.label :member_last_name, "Last Name*" %>
- <%= form.text_field :member_last_name, class: 'form-control', placeholder: 'Last Name' %>
+ <div class="mb-3">
+ <%= form.label :member_last_name, "Last Name*", class: "form-label" %>
+ <%= form.text_field :member_last_name, class: "form-control", placeholder: "Last Name", class: "form-control masked" %>
</div>
- <div class="form-group field_with_errors">
- <%= form.label :member_title, "Job Title" %>
- <%= form.text_field :member_title, class: 'form-control', placeholder: 'Job Title/Salutation' %>
+ <div class="mb-3">
+ <%= form.label :member_title, "Job Title", class: "form-label" %>
+ <%= form.text_field :member_title, class: "form-control", placeholder: "Job Title/Salutation", class: "form-control masked" %>
</div>
- <div class="form-group field_with_errors">
- <%= form.label :member_email, "Contact Email Address*" %>
- <%= form.text_field :member_email, class: 'form-control', placeholder: 'Contact Email (Will Remain Private)' %>
+ <div class="mb-3">
+ <%= form.label :member_email, "Contact Email Address*", class: "form-label" %>
+ <%= form.text_field :member_email, class: "form-control", placeholder: "Contact Email (Will Remain Private)", class: "form-control masked" %>
</div>
- <div class="form-group field_with_errors">
- <%= form.label :member_phone, "Contact Phone Number*" %>
- <%= form.text_field :member_phone, class: 'form-control masked', placeholder: 'Contact Phone Number (Will Remain Private)', data: {format: '(999) 999-9999', placeholder: 'x'} %>
+ <div class="mb-3">
+ <%= form.label :member_phone, "Contact Phone Number*", class: "form-label" %>
+ <%= form.text_field :member_phone, placeholder: "Contact Phone Number (Will Remain Private)", class: "form-control masked", data: {format: "(999) 999-9999", placeholder: "x"} %>
</div>
- <div class="form-group field_with_errors">
- <%= form.label :member_notes, "Member" %>
- <%= form.text_area :member_notes, class: 'form-control masked', placeholder: 'Member Notes' %>
+ <div class="mb-3">
+ <%= form.label :member_notes, "Member", class: "form-label" %>
+ <%= form.text_area :member_notes, placeholder: "Member Notes", class: "form-control masked" %>
</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 - Profile -->
+<!-- -PHCDEV- Form - Member - Profile -->