mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
- content_for :head do
|
|
= render 'shared/cms_elrte_head'
|
|
|
|
%table{"data-hook" => "distributors"}
|
|
%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' => "long_description"}
|
|
%td Extended Description:
|
|
%td= f.text_area :long_description, :class => 'rich_text'
|
|
%tr{"data-hook" => "contact"}
|
|
%td Contact:
|
|
%td= f.text_field :contact
|
|
%tr{"data-hook" => "phone"}
|
|
%td Phone:
|
|
%td= f.text_field :phone
|
|
%tr{"data-hook" => "email"}
|
|
%td Email:
|
|
%td= f.text_field :email
|
|
%tr{"data-hook" => "url"}
|
|
%td URL:
|
|
%td= f.text_field :url
|
|
%tr{"data-hook" => "abn"}
|
|
%td ABN:
|
|
%td= f.text_field :abn
|
|
%tr{"data-hook" => "acn"}
|
|
%td ACN:
|
|
%td= f.text_field :acn
|
|
%fieldset
|
|
%legend Pickup details
|
|
%table{"data-hook" => "distributors_pickup_details"}
|
|
%tr{"data-hook" => "next_collection_at"}
|
|
%td Next collection date/time:
|
|
%td= f.text_field :next_collection_at
|
|
%tr{"data-hook" => "pickup_times"}
|
|
%td Regular pickup times:
|
|
%td= f.text_field :pickup_times
|
|
= f.fields_for :pickup_address do |pickup_address_form|
|
|
= render 'spree/admin/shared/address_form', :f => pickup_address_form
|