40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
.row
|
|
.small-12.columns
|
|
ul
|
|
li Its free!
|
|
li
|
|
span To try do the following
|
|
ul
|
|
li Create and setup a restaurant account
|
|
li Open the qr codes page displaying the qr-codes of your created tables
|
|
li Download the app on your phone to test as a user
|
|
li Scan a qr-code from you restaurant screen with your phone, and you can test ordering products!!!
|
|
.row
|
|
.large-7.large-offset-1.columns
|
|
= form_for @new_supplier do |f|
|
|
= f.row :supplier_name
|
|
.large-4.columns= f.label :supplier_name
|
|
.large-4.columns= f.text_field :supplier_name
|
|
.large-4.columns= f.error_message :supplier_name
|
|
= f.row :email
|
|
.large-4.columns= f.label :email
|
|
.large-4.columns
|
|
- if @new_supplier.current_employee.present?
|
|
= @new_supplier.current_employee.email
|
|
- else
|
|
= f.email_field :email
|
|
.large-4.columns= f.error_message :email
|
|
- if not @new_supplier.current_employee.present?
|
|
= f.row :password
|
|
.large-4.columns= f.label :password
|
|
.large-4.columns= f.text_field :password
|
|
.large-4.columns= f.error_message :password
|
|
= f.row :password_confirmation
|
|
.large-4.columns= f.label :password_confirmation
|
|
.large-4.columns= f.text_field :password_confirmation
|
|
.large-4.columns= f.error_message :password_confirmation
|
|
|
|
.form-actions
|
|
= f.submit class: 'button'
|
|
|