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




















<%= f.submit "Submit" %>

<% end %>