app/views/phcscriptcdnpro/script/versions/_form.html.erb in phcscriptcdnpro-72.2.0 vs app/views/phcscriptcdnpro/script/versions/_form.html.erb in phcscriptcdnpro-73.0.0

- old
+ new

@@ -1,19 +1,19 @@ -<%= form_with(model: script_version, local: true) do |form| %> +<%= form_with(model: script_version, local: true) do |form_phc_scriptcdn_versions| %> <!-- PHCNotifi Render Validation --> <%= render 'phcnotifi/validations', :object => @script_version %> <!-- Form Input Fields --> <div class="form-group field_with_error"> - <%= form.label :scriptversion, "Version Number" %> - <%= form.text_field :scriptversion, placeholder: "Version Number", class: "form-control" %> + <%= form_phc_scriptcdn_versions.label :scriptversion, "Version Number" %> + <%= form_phc_scriptcdn_versions.text_field :scriptversion, placeholder: "Version Number", class: "form-control" %> </div> <!-- Form Input Fields --> <!-- Form Submition Button --> <div class="actions"> - <%= form.submit class: "btn btn-primary" %> + <%= form_phc_scriptcdn_versions.submit class: "btn btn-primary" %> </div> <!-- For Submition Button --> <% end %>