app/views/phcscriptcdnpro/script/urls/_form.html.erb in phcscriptcdnpro-64.1.0 vs app/views/phcscriptcdnpro/script/urls/_form.html.erb in phcscriptcdnpro-65.0.0
- old
+ new
@@ -3,20 +3,20 @@
<!-- PHCNotifi Render Validation -->
<%= render 'phcnotifi/validations', :object => @script_url %>
<!-- Form Input Fields -->
<div class="form-group field_with_error">
- <%= f.label :scripturl, "Script URL" %>
- <%= f.text_field :scripturl, placeholder: "Script URL", class: "form-control" %>
+ <%= form.label :scripturl, "Script URL" %>
+ <%= form.text_field :scripturl, placeholder: "Script URL", class: "form-control" %>
</div>
<div class="form-group field_with_error">
- <%= f.label :scripturlrelease, "Initial Release" %>
- <%= f.date_select :scripturlrelease, class: "form-control" %>
+ <%= form.label :scripturlrelease, "Initial Release" %>
+ <%= form.date_select :scripturlrelease, class: "form-control" %>
</div>
<div class="form-group field_with_error">
- <%= f.label :scripturlcdnupdate, "Latest Release" %>
- <%= f.date_select :scripturlcdnupdate, class: "form-control" %>
+ <%= form.label :scripturlcdnupdate, "Latest Release" %>
+ <%= form.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">
- <%= f.submit class: "btn btn-primary" %>
+ <%= form.submit class: "btn btn-primary" %>
</div>
<!-- For Submition Button -->
<% end %>