h2=t 'settings.title'
.form-row
  .form-label: label=t 'attributes.supplier.name'
  .form-field: Ember.TextField valueBinding="controller.model.name"
.form-row
  .form-label: label=t 'attributes.supplier.email'
  .form-field: Qsupplier.App.EmailField valueBinding="controller.model.email" classNames="supplier-email"
/input.location_picker name="location" type="text" valueBinding="location"
/.form-row
  .location_picker_map
  = image_tag 'supplier/settings/location-balloon.png'
/.form-row
  .form-label: label=t 'attributes.supplier.time_zone'
  .form-field: Ember.Select content=time_zones optionValuePath="content.name"  optionLabelPath="content.formatted" valueBinding="controller.model.time_zone"
.form-row
  .form-label: label=t 'attributes.supplier.address'
  .form-field.full
    .row
      .large-8.medium-8.columns: Ember.TextField valueBinding="controller.model.address"
      .large-1.show-for-large-up.columns &nbsp;
      .large-2.medium-2.small-3.columns: Qsupplier.App.NumberField valueBinding="controller.model.house_number"
      .large-1.medium-2.small-2.columns: Ember.TextField valueBinding="controller.model.house_number_addition"
.form-row
  .form-label: label=t 'attributes.supplier.postal_code'
  .form-field: Ember.TextField valueBinding="controller.model.postal_code"
.form-row
  .form-label: label=t 'attributes.supplier.city'
  .form-field: Ember.TextField valueBinding="controller.model.city"
.form-row
  .form-label: label=t 'attributes.supplier.country'
  .form-field: Ember.Select content=countries optionValuePath="content.name"  optionLabelPath="content.name" valueBinding="controller.model.country"
if editIensProfile
  .form-row
    .form-label: label=t 'attributes.supplier.iens_profile'
    .form-field
      Qsupplier.App.NumberField valueBinding="controller.model.iens_profile"
      = image_tag 'supplier/settings/iens-example.png'
      span=t "settings.reviews.explanation"
.form-row.form-actions
  button.button.submit-supplier-settings{action 'saveSettings'}=t 'settings.save'
