Sha256: e22d6ee4baf5c85aa1c5c930ed6df12202e19553e3cac2b3dd5f947610d3e82a
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
<%= form_for([@scriptcdn_scripturl.script, @scriptcdn_scripturl], url: scriptcdn_script_scripturls_path) do |f| %> <!-- PHC-Notifi Render Validation --> <%= render 'layouts/phcnotifi/components/validations', :object => @scriptcdn_scripturl %> <div class="field"> <label><%= f.label :scrpturlname, "Script Name" %></label> <%= f.text_field :scrpturlname, class: "form-control" %> </div> <div class="field"> <label><%= f.label :scrpturlphc, "Script URL (AWS)" %></label> <%= f.text_field :scrpturlphc, class: "form-control" %> </div> <div class="field"> <label><%= f.label :scrpturltype, "Script Type" %></label> <%= f.select :scrpturltype, [['CSS','css'],['JS','js'],['font','Font']], class: "form-control" %> </div> <div class="form-group"> <label><%= f.label :scriptversion_id, "Script Version" %></label> <%= collection_select(:scriptcdn_scripturl, :scriptversion_id, Phcscriptcdn::Scriptcdn::Scriptversion.order('scrptversion'), :id, :scrptversion, {}, {class: "form-control form-control-sm"}) %> </div> <div class="actions"> <%= f.submit "Submit", class: "btn btn-primary btn-sm"%> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcscriptcdn-0.6.0 | app/views/phcscriptcdn/scriptcdn/scripturls/_form.html.erb |