app/views/phcscriptcdnpro/script/urls/_form.html.erb in phcscriptcdnpro-72.2.0 vs app/views/phcscriptcdnpro/script/urls/_form.html.erb in phcscriptcdnpro-73.0.0
- old
+ new
@@ -1,22 +1,22 @@
-<%= form_for([@script_url.listing, @script_url], url: form_url) do |f| %>
+<%= form_for([@script_url.listing, @script_url], url: form_url) do |form_phc_scriptcdn_urls| %>
<!-- PHCNotifi Render Validation -->
<%= render 'phcnotifi/validations', :object => @script_url %>
<!-- Form Input Fields -->
<div class="form-group field_with_error">
- <%= form.label :scripturl, "Script URL" %>
- <%= form.text_field :scripturl, placeholder: "Script URL", class: "form-control" %>
+ <%= form_phc_scriptcdn_urls.label :scripturl, "Script URL" %>
+ <%= form_phc_scriptcdn_urls.text_field :scripturl, placeholder: "Script URL", class: "form-control" %>
</div>
<div class="form-group field_with_error">
- <%= form.label :scripturlrelease, "Initial Release" %>
- <%= form.date_select :scripturlrelease, class: "form-control" %>
+ <%= form_phc_scriptcdn_urls.label :scripturlrelease, "Initial Release" %>
+ <%= form_phc_scriptcdn_urls.date_select :scripturlrelease, class: "form-control" %>
</div>
<div class="form-group field_with_error">
- <%= form.label :scripturlcdnupdate, "Latest Release" %>
- <%= form.date_select :scripturlcdnupdate, class: "form-control" %>
+ <%= form_phc_scriptcdn_urls.label :scripturlcdnupdate, "Latest Release" %>
+ <%= form_phc_scriptcdn_urls.date_select :scripturlcdnupdate, class: "form-control" %>
</div>
<div class="form-group field_with_errors">
<label>Script Version</label>
<%= collection_select(:script_url, :version_id, Phcscriptcdnpro::Script::Version.order('scriptversion'), :id, :scriptversion, {}, {class: "form-control"}) %>
</div>
@@ -26,10 +26,10 @@
</div>
<!-- Form Input Fields -->
<!-- Form Submition Button -->
<div class="actions">
- <%= form.submit class: "btn btn-primary" %>
+ <%= form_phc_scriptcdn_urls.submit class: "btn btn-primary" %>
</div>
<!-- For Submition Button -->
<% end %>