app/views/phcscriptcdnpro/script/licences/_form.html.erb in phcscriptcdnpro-78.4.0 vs app/views/phcscriptcdnpro/script/licences/_form.html.erb in phcscriptcdnpro-79.0.0

- old
+ new

@@ -1,48 +1,48 @@ <%= form_with(model: script_licence, local: true) do |form| %> - <!-- PHCNotifi Render Validation --> - <%= render 'phcnotifi/default/validations', :object => @script_licence %> - <!-- PHCNotifi Render Validation --> + <!-- -PHCDEV- Form Validation --> + <%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_licence %> + <!-- -PHCDEV- Form Validation --> - <!-- Form Input Fields --> - <div class="form-group field_with_errors"> - <%= form.label :licence_name, "Licence Name" %> + <!-- -PHCDEV- Form Input Fields --> + <div class="mb-3"> + <%= form.label :licence_name, "Licence Name", class: "form-label" %> <%= form.text_field :licence_name, placeholder: "Licence Name", class: "form-control" %> </div> - <div class="form-group field_with_errors"> - <%= form.label :licence_description, "Licence Description" %> + <div class="mb-3"> + <%= form.label :licence_description, "Licence Description", class: "form-label" %> <%= form.text_area :licence_description, placeholder: "Licence Descirption", class: "form-control" %> </div> - <div class="form-group field_with_errors"> - <%= form.label :licence_compatible_gpl, "GPL(v3) Compatible" %> - <%= form.select( :licence_compatible_gpl, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %> + <div class="mb-3"> + <%= form.label :licence_compatible_gpl, "GPL(v3) Compatible", class: "form-label" %> + <%= form.select( :licence_compatible_gpl, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %> </div> - <div class="form-group field_with_errors"> - <%= form.label :licence_approval_fsf, "FSF Approval" %> - <%= form.select( :licence_approval_fsf, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %> + <div class="mb-3"> + <%= form.label :licence_approval_fsf, "FSF Approval", class: "form-label" %> + <%= form.select( :licence_approval_fsf, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %> </div> - <div class="form-group field_with_errors"> - <%= form.label :licence_approval_osi, "OSI Approval" %> - <%= form.select( :licence_approval_osi, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %> + <div class="mb-3"> + <%= form.label :licence_approval_osi, "OSI Approval", class: "form-label" %> + <%= form.select( :licence_approval_osi, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %> </div> - <div class="form-group field_with_errors"> - <%= form.label :licence_approval_copyfree, "Copyfree Approval" %> - <%= form.select( :licence_approval_copyfree, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %> + <div class="mb-3"> + <%= form.label :licence_approval_copyfree, "Copyfree Approval", class: "form-label" %> + <%= form.select( :licence_approval_copyfree, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %> </div> - <div class="form-group field_with_errors"> - <%= form.label :licence_approval_debian, "Debian Approval" %> - <%= form.select( :licence_approval_debian, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %> + <div class="mb-3"> + <%= form.label :licence_approval_debian, "Debian Approval", class: "form-label" %> + <%= form.select( :licence_approval_debian, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %> </div> - <div class="form-group field_with_errors"> - <%= form.label :licence_approval_fedora, "Fedora Approval" %> - <%= form.select( :licence_approval_fedora, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %> + <div class="mb-3"> + <%= form.label :licence_approval_fedora, "Fedora Approval", class: "form-label" %> + <%= form.select( :licence_approval_fedora, [["No","No"],["Yes","Yes"]], {}, {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 %>