<% form_for @employee do |f| %> <%= f.error_messages %>
Personal Info
<%= f.label :firstname, "First Name" %> <%= f.label :lastname, "Last Name" %>
<%= f.text_field :firstname, :maxsize => "16" %> <%= f.text_field :lastname, :maxsize => "16" %>
<%= f.label :street %>
<%= f.text_field :street, :maxsize => "30" %>
<%= f.label :city %> <%= f.label :state, "St" %> <%= f.label :zip %>
<%= f.text_field :city, :maxsize => "16" %> <%= f.text_field :state, :maxsize => "2" %> <%= f.text_field :zip, :maxsize => "7" %>
Tax Info
<%= f.label :dob, "Birth Date" %> <%= f.label :hired, "Hire Date" %> <%= f.label :payrate, "Rate" %>
<%= f.calendar_date_select :dob, :maxsize => "10", :year_range => 70.years.ago..0.years.ago, :buttons => false %> <%= f.calendar_date_select :hired, :maxsize => "10", :year_range => 20.years.ago..1.year.from_now, :buttons => false %> <%= f.text_field :payrate, :maxsize => "4" %>
 
<%= f.label :phone %> <%= f.label :ssn, "Social" %> <%= f.label :tax_status, "Tax Info" %>
<%= f.text_field :phone, :maxsize => "13" %> <%= f.text_field :ssn, :maxsize => "11" %> <%= f.text_field :tax_status, :maxsize => "1" %> <%= f.text_field :dependents, :maxsize => "2" %>
Vehicle Info
<%= f.label :dl_number, "License No." %> <%= f.label :dl_state, "St" %> <%= f.label :dl_expire, "Expiry" %>
<%= f.text_field :dl_number, :maxsize => "15" %> <%= f.text_field :dl_state, :maxsize => "2" %> <%= f.calendar_date_select :dl_expire, :maxsize => "10" %>
<%= f.label :truck, "Truck No" %> <%= f.label :trailer, "Trailer No" %>  
<%= f.text_field :truck, :maxsize => "12" %> <%= f.text_field :trailer, :maxsize => "12" %>  
Recent Loads

<%= f.submit "Submit" %>

<% end %>