<%= form_for([@scriptcdn_information.main, @scriptcdn_information], url: scriptcdn_main_information_path, method: :patch) do |f| %> <%= render 'phcnotifi/validations', :object => @scriptcdn_information %>
<%= f.label :scripttitle, "Script Title" %> <%= f.text_field :scripttitle, placeholder: "Script Information Title", class: "form-control" %>
<%= f.label :scriptdescription, "Script Description" %> <%= f.text_field :scriptdescription, placeholder: "Script Information Description", class: "form-control" %>
<%= f.label :scriptcategory, "Script Category" %> <%= f.select( :scriptcategory, [['HTML','html'],['CSS','css']], { :multiple => true, :size => 5 }, {class: "form-control form-control"}) %>
<%= f.label :scriptwebsite, "Script Website" %> <%= f.text_field :scriptwebsite, placeholder: "Script Information Website", class: "form-control" %>
<%= f.label :scripttwitter, "Script Twitter" %> <%= f.text_field :scripttwitter, placeholder: "Script Information Twitter Address", class: "form-control" %>
<%= f.label :scriptgithub, "Script Github" %> <%= f.text_field :scriptgithub, placeholder: "Script Information Github Address", class: "form-control" %>
<%= f.label :scriptinitialrelease, "Initial Release" %> <%= f.date_select :scriptinitialrelease, class: "form-control" %>
<%= f.label :scriptlicence, "Script Licence" %> <%= f.select( :scriptlicence, [['MIT','MIT'],['Apache 2.0','Apache v2']], {}, {class: "form-control form-control-sm"}) %>
<%= f.label :scriptplatform, "Script Platform" %> <%= f.select( :scriptplatform, [['Web Engine','Web Engine']], {}, {class: "form-control form-control"}) %>
<%= f.label :scriptstatus, "Script Status" %> <%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control form-control"}) %>
<%= f.submit class: "btn blue-hoki" %>
<% end %>