Sha256: c46ee680b88ec552a0df9293df5574749c768ce8bf52d340673271eea1546fc0

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 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.analytics_save')

  %div{style: "margin-top: 40px"}
    .horizontal-form
      .horizontal-form-group
        .horizontal-form-label
          = Spina::Account.human_attribute_name(:robots_allowed)
        .horizontal-form-content
          = f.check_box :robots_allowed, data: {switch: true}
      .horizontal-form-group
        .horizontal-form-label
          = Spina::Account.human_attribute_name(:google_analytics)
        .horizontal-form-content
          .page-form-control
            = f.text_field :google_analytics, placeholder: Spina::Account.human_attribute_name(:google_analytics)
      .horizontal-form-group
        .horizontal-form-label
          = Spina::Account.human_attribute_name(:google_site_verification)
        .horizontal-form-content
          .page-form-control
            = f.text_field :google_site_verification, placeholder: Spina::Account.human_attribute_name(:google_site_verification)

Version data entries

5 entries across 5 versions & 1 rubygems

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