85bdf28f91
see https://github.com/foodcoops/foodsoft/pull/907 for reference and original work by viehlieb Co-authored-by: viehlieb <pf@pragma-shift.net> fix PDF Pdf
11 lines
710 B
Text
11 lines
710 B
Text
= config_input form, :name, required: true, input_html: {class: 'input-xlarge'}
|
|
= form.fields_for :contact do |c|
|
|
= config_input c, :street, input_html: {class: 'input-xlarge'}
|
|
.fold-line
|
|
= config_input c, :zip_code, input_html: {class: 'input-mini'}
|
|
= config_input c, :city, input_html: {class: 'input-medium'}
|
|
= config_input c, :country, as: :string, input_html: {class: 'input-xlarge'}
|
|
= config_input c, :email, required: true, input_html: {class: 'input-xlarge'}
|
|
= config_input c, :phone, input_html: {class: 'input-medium'}
|
|
= config_input c, :tax_number, input_html: {class: 'input-medium'}
|
|
= config_input form, :homepage, required: true, as: :url, input_html: {class: 'input-xlarge'}
|