Basis of rails-driven app for local business
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

40 lines
988 B

  1. <% form_for @employee do |f| %>
  2. <%= f.error_messages %>
  3. <p>
  4. <%= f.label :number %><br />
  5. <%= f.text_field :number %>
  6. </p>
  7. <p>
  8. <%= f.label :firstname %><br />
  9. <%= f.text_field :firstname %>
  10. </p>
  11. <p>
  12. <%= f.label :lastname %><br />
  13. <%= f.text_field :lastname %>
  14. </p>
  15. <p>
  16. <%= f.label :ssn %><br />
  17. <%= f.text_field :ssn %>
  18. </p>
  19. <p>
  20. <%= f.label :dob %><br />
  21. <%= f.date_select :dob, :start_year => Time.now.year - 70, :end_year => Time.now.year - 17, :default => Time.now - 30.years %>
  22. </p>
  23. <p>
  24. <%= f.label :hired %><br />
  25. <%= f.date_select :hired, :start_year => Time.now.year - 10, :end_year => Time.now.year + 1 %>
  26. </p>
  27. <p>
  28. <%= f.label :tax_status %><br />
  29. <%= f.text_field :tax_status %>
  30. </p>
  31. <p>
  32. <%= f.label :dependents %><br />
  33. <%= f.text_field :dependents %>
  34. </p>
  35. <p>
  36. <%= f.label :payrate %><br />
  37. <%= f.text_field :payrate %>
  38. </p>
  39. <p><%= f.submit "Submit" %></p>
  40. <% end %>