%= form_for(@job) do |f| %>
<% if @job.errors.any? %>
<%= pluralize(@job.errors.count, "error") %> prohibited this job from being saved:
<% @job.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :device_id %>
<%= f.text_field :device_id %>
<%= f.submit %>
<% end %>