<%= bootstrap_form_for(@schedule, layout: :horizontal, label_col: 'col-xs-3', control_col: 'col-xs-8') do |f| %> <% if @schedule.errors.any? %>

<%= pluralize(@schedule.errors.count, "error") %> prohibited this schedule from being saved:

<% end %>
<%= f.text_field :name %> <%= f.time_field :runtime, placeholder: 'HH:MM' %>
<%= f.submit class: 'btn btn-success' %>
<% end %>