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 %> <dl> <fieldset class="left"> <legend>Personal</legend> <dt><%= f.label :number %></dt> <dd><%= f.text_field :number %></dd> <dt><%= f.label :firstname %></dt> <dd><%= f.text_field :firstname %></dd> <dt><%= f.label :lastname %></dt> <dd><%= f.text_field :lastname %></dd> <dt><%= f.label :dob %></dt> <dd><%= f.date_select :dob, :start_year => Time.now.year - 70, :end_year => Time.now.year - 17, :default => Time.now - 30.years %> </dd> <dt><%= f.label :phone %></dt> <dd><%= f.text_field :phone %></dd> </fieldset> <fieldset class="right"> <legend>Tax Info</legend> <!-- Pay Info --> <dt><%= f.label :ssn %></dt> <dd><%= f.text_field :ssn %></dd> <dt><%= f.label :payrate %></dt> <dd><%= f.text_field :payrate %></dd> <dt><%= f.label :tax_status %></dt> <dd><%= f.text_field :tax_status %></dd> <dt><%= f.label :dependents %></dt> <dd><%= f.text_field :dependents %></dd> <dt><%= f.label :hired %></dt> <dd><%= f.date_select :hired, :start_year => Time.now.year - 10, :end_year => Time.now.year + 1, :default => Time.now %> </dd> </fieldset> <fieldset class="left"> <!-- Address Info --> <legend>Address</legend> <dt><%= f.label :street %></dt> <dd><%= f.text_field :street %></dd> <dt><%= f.label :city %></dt> <dd><%= f.text_field :city %></dd> <dt><%= f.label :state %></dt> <dd><%= f.text_field :state %></dd> <dt><%= f.label :zip %></dt> <dd><%= f.text_field :zip %></dd> </fieldset> <fieldset class="right"> <legend>Vehicle Info</legend> <!-- License Info --> <dt><%= f.label :dl_number %></dt> <dd><%= f.text_field :dl_number %></dd> <dt><%= f.label :dl_state %></dt> <dd><%= f.text_field :dl_state %></dd> <dt><%= f.label :dl_expire %></dt> <dd><%= f.text_field :dl_expire %></dd> <!-- Truck Info --> <dt><%= f.label :truck %></dt> <dd><%= f.text_field :truck %></dd> <dt><%= f.label :trailer %></dt> <dd><%= f.text_field :trailer %></dd> </fieldset> </dl> <hr class="clear"> <p><%= f.submit "Submit" %></p> <% end %>
|