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.
|
|
<% form_for @employee do |f| %> <%= f.error_messages %> <p> <%= f.label :number %><br /> <%= f.text_field :number %> </p> <p> <%= f.label :firstname %><br /> <%= f.text_field :firstname %> </p> <p> <%= f.label :lastname %><br /> <%= f.text_field :lastname %> </p> <p> <%= f.label :ssn %><br /> <%= f.text_field :ssn %> </p> <p> <%= f.label :dob %><br /> <%= f.date_select :dob, :start_year => Time.now.year - 70, :end_year => Time.now.year - 17, :default => Time.now - 30.years %> </p> <p> <%= f.label :hired %><br /> <%= f.date_select :hired, :start_year => Time.now.year - 10, :end_year => Time.now.year + 1 %> </p> <p> <%= f.label :tax_status %><br /> <%= f.text_field :tax_status %> </p> <p> <%= f.label :dependents %><br /> <%= f.text_field :dependents %> </p> <p> <%= f.label :payrate %><br /> <%= f.text_field :payrate %> </p> <p><%= f.submit "Submit" %></p> <% end %>
|