Sha256: 7351a55035e4db8fc7a128b6262e1008f01a0f0c32766b78bce3070c9f5bc879

Contents?: true

Size: 1.95 KB

Versions: 5

Compression:

Stored size: 1.95 KB

Contents

= form_for [spina, :admin, current_account], url: spina.admin_account_path 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')

  %div{style: "margin-top: 40px"}
    .horizontal-form
      .horizontal-form-group
        .horizontal-form-label
          = Spina::Account.human_attribute_name(:name)
        .horizontal-form-content
          .page-form-control
            = 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
          .page-form-control
            = 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
          .page-form-control
            = 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
          .page-form-control
            = 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
          .page-form-control
            = 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
          .page-form-control
            = f.text_field :email, placeholder: Spina::Account.human_attribute_name(:email)

  

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spina-2.0.2 app/views/spina/admin/accounts/_form.html.haml
spina-2.0.1 app/views/spina/admin/accounts/_form.html.haml
spina-2.0.0 app/views/spina/admin/accounts/_form.html.haml
spina-2.0.0.beta app/views/spina/admin/accounts/_form.html.haml
spina-2.0.0.alpha app/views/spina/admin/accounts/_form.html.haml