app/views/phcscriptcdn/script/authors/_form.html.erb in phcscriptcdn-54.3.0 vs app/views/phcscriptcdn/script/authors/_form.html.erb in phcscriptcdn-55.0.0
- old
+ new
@@ -1,32 +1,32 @@
<%= form_with(model: script_author, local: true) do |form| %>
- <!-- PHCNotifi Render Validation -->
- <%= render 'phcnotifi/default/validations', :object => @script_author %>
- <!-- PHCNotifi Render Validation -->
+ <!-- -PHCDEV- Form Validation -->
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_author %>
+ <!-- -PHCDEV- Form Validation -->
- <!-- Form Input Fields -->
- <div class="form-group field_with_errors">
- <%= form.label :author_first_name, "Author First Name" %>
+ <!-- -PHCDEV- Form Input Fields -->
+ <div class="mb-3">
+ <%= form.label :author_first_name, "Author First Name", class: "form-label" %>
<%= form.text_field :author_first_name, placeholder: "Author First Name", class: "form-control" %>
</div>
- <div class="form-group field_with_errors">
- <%= form.label :author_last_name, "Author Last Name" %>
+ <div class="mb-3">
+ <%= form.label :author_last_name, "Author Last Name", class: "form-label" %>
<%= form.text_field :author_last_name, placeholder: "Author Last Name", class: "form-control" %>
</div>
- <div class="form-group field_with_errors">
- <%= form.label :author_website, "Author Website" %>
+ <div class="mb-3">
+ <%= form.label :author_website, "Author Website", class: "form-label" %>
<%= form.text_field :author_website, placeholder: "Author Website", class: "form-control" %>
</div>
- <div class="form-group field_with_errors">
- <%= form.label :author_github, "Author Github Address" %>
+ <div class="mb-3">
+ <%= form.label :author_github, "Author Github Address", class: "form-label" %>
<%= form.text_field :author_github, placeholder: "Author Github Address", 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" %>
</div>
- <!-- For Submition Button -->
+ <!-- -PHCDEV- Form Submition Button -->
<% end %>