Sha256: 9fbc895445fc8e9b47d95d5cc4e34d676dcd57911e4df98c5f1af71a5c0a3e48
Contents?: true
Size: 1.06 KB
Versions: 5
Compression:
Stored size: 1.06 KB
Contents
<%= form_for([@scriptcdn_scripturl.script, @scriptcdn_scripturl], url: scriptcdn_scriptversion_scripturls_path) do |f| %> <%= render 'phcnotifi/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
5 entries across 5 versions & 1 rubygems