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.

44 lines
810 B

  1. <% title "Employee" %>
  2. <p>
  3. <strong>Number:</strong>
  4. <%=h @employee.number %>
  5. </p>
  6. <p>
  7. <strong>Firstname:</strong>
  8. <%=h @employee.firstname %>
  9. </p>
  10. <p>
  11. <strong>Lastname:</strong>
  12. <%=h @employee.lastname %>
  13. </p>
  14. <p>
  15. <strong>SSN:</strong>
  16. <%=h @employee.ssn %>
  17. </p>
  18. <p>
  19. <strong>DOB:</strong>
  20. <%=h @employee.dob %>
  21. </p>
  22. <p>
  23. <strong>Hire Date:</strong>
  24. <%=h @employee.hired %>
  25. </p>
  26. <p>
  27. <strong>Tax Status:</strong>
  28. <%=h @employee.tax_status %>
  29. </p>
  30. <p>
  31. <strong>Dependents:</strong>
  32. <%=h @employee.dependents %>
  33. </p>
  34. <p>
  35. <strong>Pay Rate:</strong>
  36. <%=h @employee.payrate %>
  37. </p>
  38. <p>
  39. <%= link_to "Edit", edit_employee_path(@employee) %> |
  40. <%= link_to "Destroy", @employee, :confirm => 'Are you sure?', :method => :delete %> |
  41. <%= link_to "View All", employees_path %>
  42. </p>