mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-24 05:38:52 +00:00
31 lines
953 B
Plaintext
31 lines
953 B
Plaintext
%table{'data-hook' => "suppliers"}
|
|
%tr{'data-hook' => "name"}
|
|
%td Name:
|
|
%td= f.text_field :name
|
|
%tr{'data-hook' => "description"}
|
|
%td Description:
|
|
%td= f.text_field :description
|
|
%tr{'data-hook' => "address"}
|
|
%td Address:
|
|
%td= f.text_field :address
|
|
%tr{'data-hook' => "city"}
|
|
%td City:
|
|
%td= f.text_field :city
|
|
%tr{'data-hook' => "post_code"}
|
|
%td Post Code:
|
|
%td= f.text_field :postcode
|
|
%tr{'data-hook' => "country"}
|
|
%td Country:
|
|
%td= f.collection_select(:country_id, @countries, :id, :name, :include_blank => true)
|
|
%tr{'data-hook' => "state"}
|
|
%td State:
|
|
%td= f.collection_select(:state_id, @supplier.country.states, :id, :name, :include_blank => true)
|
|
%tr{'data-hook' => "email"}
|
|
%td Email:
|
|
%td= f.text_field :email
|
|
%tr{'data-hook' => "website"}
|
|
%td Website:
|
|
%td= f.text_field :website
|
|
%tr{'data-hook' => "twitter"}
|
|
%td Twitter:
|
|
%td= f.text_field :twitter |