<%= form_with(model: [ @list_post, @list_item], url: form_url, local: true) do |form| %> <%= render "phcdevworks_notifications/bootstrap/validations", :object => @list_item %>
<%= form.label :list_item_title, "Product/Service Title" %> <%= form.text_field :list_item_title, class: "form-control" %>
<%= form.text_area :list_item_text, class: "form-control editor" %>
<%= form.label :list_item_url, "Product/Service URL" %> <%= form.text_field :list_item_url, class: "form-control" %>
<%= form.label :list_item_number, "Ordering Number" %> <%= form.select( :list_item_number, [["01","01"],["02","02"],["03","03"],["04","04"],["05","05"],["06","06"],["07","07"],["08","08"],["09","09"],["10","10"],["11","11"],["12","12"],["13","13"],["14","14"],["15","15"],["16","16"],["17","17"],["18","18"],["19","19"],["20","20"]], {}, {class: "form-control"}) %>
<%= form.submit class: "btn btn-primary" %>
<% end %>