Sha256: 5243808d24defc1016a8b7139e98aeedb9a7fa9612f0d1029ef50bf81c1545dc
Contents?: true
Size: 1.37 KB
Versions: 61
Compression:
Stored size: 1.37 KB
Contents
<%= form_for([@script_url.listing, @script_url], url: form_url) do |f| %> <!-- PHC-Notifi Render Validation --> <%= render 'phcnotifi/validations', :object => @script_url %> <!-- PHC-Notifi Render Validation --> <!-- Form 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"> <%= f.label :scripturlrelease, "Initial Release" %> <%= f.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" %> </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"}) %> </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"}) %> </div> <!-- Form Fields --> <!-- Form Button --> <div class="actions"> <%= f.submit class: "btn btn-primary" %> </div> <!-- Form Button --> <% end %>
Version data entries
61 entries across 61 versions & 1 rubygems
Version | Path |
---|---|
phcscriptcdn-6.0.0b | app/views/phcscriptcdn/script/urls/_form.html.erb |