Sha256: 6d1623e233038ee52ed1229176793a49a7e0c4cb3fac995e40b1843ca23798dd

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 KB

Contents

= form_for [spina, :admin, current_account] do |f|
  %header#header
    = render partial: 'spina/admin/shared/breadcrumbs'

    #header_actions
      %button.button.button-primary{type: 'submit'}
        = icon('check')
        = t('spina.preferences.account_save')

  .well
    .horizontal-form
      .horizontal-form-group
        .horizontal-form-label
          = Spina::Account.human_attribute_name(:name)
        .horizontal-form-content
          = f.text_field :name, placeholder: Spina::Account.human_attribute_name(:name)

      .horizontal-form-group
        .horizontal-form-label
          = Spina::Account.human_attribute_name(:address)
        .horizontal-form-content
          = f.text_field :address, placeholder: Spina::Account.human_attribute_name(:address)

      .horizontal-form-group
        .horizontal-form-label
          = Spina::Account.human_attribute_name(:postal_code)
        .horizontal-form-content
          = f.text_field :postal_code, placeholder: Spina::Account.human_attribute_name(:postal_code)

      .horizontal-form-group
        .horizontal-form-label
          = Spina::Account.human_attribute_name(:city)
        .horizontal-form-content
          = f.text_field :city, placeholder: Spina::Account.human_attribute_name(:city)

      .horizontal-form-group
        .horizontal-form-label
          = Spina::Account.human_attribute_name(:phone)
        .horizontal-form-content
          = f.text_field :phone, placeholder: Spina::Account.human_attribute_name(:phone)

      .horizontal-form-group
        .horizontal-form-label
          = Spina::Account.human_attribute_name(:email)
        .horizontal-form-content
          = f.text_field :email, placeholder: Spina::Account.human_attribute_name(:email)

  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spina-0.10.0 app/views/spina/admin/accounts/_form.html.haml