app/views/phcscriptcdn/script/urls/_form.html.erb in phcscriptcdn-49.0.0 vs app/views/phcscriptcdn/script/urls/_form.html.erb in phcscriptcdn-50.0.0
- old
+ new
@@ -3,27 +3,27 @@
<!-- PHCNotifi Render Validation -->
<%= render 'phcnotifi/validations', :object => @script_url %>
<!-- Form Input Fields -->
<div class="form-group field_with_error">
- <%= form_phc_scriptcdn_urls.label :scripturl, "Script URL" %>
- <%= form_phc_scriptcdn_urls.text_field :scripturl, placeholder: "Script URL", class: "form-control" %>
+ <%= form_phc_scriptcdn_urls.label :script_url, "Script URL" %>
+ <%= form_phc_scriptcdn_urls.text_field :script_url, placeholder: "Script URL", class: "form-control" %>
</div>
<div class="form-group field_with_error">
- <%= form_phc_scriptcdn_urls.label :scripturlrelease, "Initial Release" %>
- <%= form_phc_scriptcdn_urls.date_select :scripturlrelease, class: "form-control" %>
+ <%= form_phc_scriptcdn_urls.label :script_url_release, "Initial Release" %>
+ <%= form_phc_scriptcdn_urls.date_select :script_url_release, class: "form-control" %>
</div>
<div class="form-group field_with_error">
- <%= form_phc_scriptcdn_urls.label :scripturlcdnupdate, "Latest Release" %>
- <%= form_phc_scriptcdn_urls.date_select :scripturlcdnupdate, class: "form-control" %>
+ <%= form_phc_scriptcdn_urls.label :script_url_cdn_update, "Latest Release" %>
+ <%= form_phc_scriptcdn_urls.date_select :script_url_cdn_update, class: "form-control" %>
</div>
<div class="form-group field_with_errors">
<label>Script Version</label>
- <%= collection_select(:script_url, :version_id, Phcscriptcdn::Script::Version.order('scriptversion'), :id, :scriptversion, {}, {class: "form-control"}) %>
+ <%= collection_select(:script_url, :version_id, Phcscriptcdn::Script::Version.order('script_version_number'), :id, :script_version_number, {}, {class: "form-control"}) %>
</div>
<div class="form-group field_with_errors">
<label>Script Extensions</label>
- <%= collection_select(:script_url, :extension_id, Phcscriptcdn::Script::Extension.order('scriptextensionname'), :id, :scriptextension, {}, {class: "form-control"}) %>
+ <%= collection_select(:script_url, :extension_id, Phcscriptcdn::Script::Extension.order('script_extension_name'), :id, :script_extension, {}, {class: "form-control"}) %>
</div>
<!-- Form Input Fields -->
<!-- Form Submition Button -->
<div class="actions">