app/views/phcscriptcdn/script/urls/_form.html.erb in phcscriptcdn-4.3.2 vs app/views/phcscriptcdn/script/urls/_form.html.erb in phcscriptcdn-4.3.3
- old
+ new
@@ -1,9 +1,11 @@
<%= form_for([@script_url.listing, @script_url], url: form_url) do |f| %>
+ <!-- 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" %>
</div>
<div class="form-group field_with_error">
@@ -20,11 +22,14 @@
</div>
<div class="form-group field_with_errors">
<label>Script Extensions</label>
<%= collection_select(:script_url, :extension_id, Phcscriptcdnpro::Script::Extension.order('scriptextensionname'), :id, :scriptextension, {}, {class: "form-control"}) %>
</div>
+ <!-- Form Input Fields -->
+ <!-- Form Submition Button -->
<div class="actions">
<%= f.submit class: "btn btn-primary" %>
</div>
+ <!-- For Submition Button -->
-<% end %>
+<% end %>
\ No newline at end of file