Created
March 16, 2017 16:05
-
-
Save mycargus/51f046fe91ef0ee06a4975bdede94850 to your computer and use it in GitHub Desktop.
example @user form for step #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= form_for @user do |f| | |
.row | |
.small-12.columns | |
.field | |
= f.text_field :name | |
.field | |
= f.text_field :company | |
.field | |
= f.text_field :email | |
.field | |
= f.text_field :phone | |
.field | |
= f.text_field :street | |
.field | |
= f.text_field :city | |
.field | |
= f.collection_select :us_state_id, @states, :id, :abbreviation, { include_blank: '', label: false } | |
.field | |
= f.text_field :zipcode | |
%br | |
.row.text-right | |
.small-12.columns.actions | |
= f.submit 'Submit' | |
%br |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment