<%= form_for(script_listing) 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 :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 :scriptlastestrelease, "Latest Release" %> <%= f.date_select :scriptlastestrelease, class: "form-control" %>
<%= f.label :scriptbetarelease, "Next Release" %> <%= f.date_select :scriptbetarelease, class: "form-control" %>
<%= collection_select(:script_listing, :version_id, Phcscriptcdn::Script::Version.order('scriptversion'), :id, :scriptversion, {}, {class: "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 btn-primary" %>
<% end %>