<%# Uses rails_bootstrap_form gem. API at: https://github.com/bootstrap-ruby/rails-bootstrap-forms %>
<%= bootstrap_form_for(osc_job) do |f| %>
  <%= f.alert_message "Please fix the errors below." %>

  <%= f.text_field :name %>
  <%= f.text_field :batch_host %>

  <%= f.submit 'Save', class: 'btn btn-primary' %>
  <%= f.button 'Reset', type: :reset, class: 'btn btn-default' %>

  <hr>

  <%= link_to 'Back', osc_jobs_path, class: 'btn btn-default' %>
  <%= link_to 'Show', osc_job, class: 'btn btn-primary' unless osc_job.new_record? %>
<% end %>

<%# Uses rails_bootstrap_form gem. API at: https://github.com/bootstrap-ruby/rails-bootstrap-forms %>
<%= bootstrap_form_for(osc_job) do |f| %>
  <%= f.alert_message "Please fix the errors below." %>

  <%= f.text_field :name %>
  <%= f.select :batch_host, Servers, { label: "Batch Server:" }, { class: "selectpicker" } %>
  

  <%= f.submit 'Save', class: 'btn btn-primary' %>
  <%= f.button 'Reset', type: :reset, class: 'btn btn-default' %>

  <hr>

  <%= link_to 'Back', osc_jobs_path, class: 'btn btn-default' %>
  <%= link_to 'Show', osc_job, class: 'btn btn-primary' unless osc_job.new_record? %>
<% end %>

Add batch server dropdown select
Add batch server dropdown select
