Sha256: a91cb34b3b666c90345e5de403e5324e061e12271a3af12d073dc8b629f24fe5

Contents?: true

Size: 1.42 KB

Versions: 5

Compression:

Stored size: 1.42 KB

Contents

#page_seo.tab-content{style: "margin-top: 40px"}
  .horizontal-form
    .horizontal-form-group
      .horizontal-form-label
        = Spina::Page.human_attribute_name :seo_title
      .horizontal-form-content
        .page-form-control
          = f.text_field :seo_title, placeholder: Spina::Page.human_attribute_name(:seo_title_placeholder), value: f.object.seo_title(fallback: false, default: nil)

    .horizontal-form-group
      .horizontal-form-label
        = Spina::Page.human_attribute_name :description
        %small= Spina::Page.human_attribute_name :description_description
      .horizontal-form-content
        .page-form-control
          = f.text_field :description, placeholder: Spina::Page.human_attribute_name(:description_placeholder)

    .horizontal-form-group
      .horizontal-form-label
        = Spina::Page.human_attribute_name :url_title
        %small= Spina::Page.human_attribute_name :url_title_description
      .horizontal-form-content
        .page-form-control
          = f.text_field :url_title, placeholder: Spina::Page.human_attribute_name(:url_title_placeholder), value: f.object.url_title(fallback: false, default: nil)&.parameterize

    - unless @page.new_record?
      .horizontal-form-group
        .horizontal-form-label
          = Spina::Page.human_attribute_name :materialized_path
        .horizontal-form-content
          .page-form-control
            = f.text_field :materialized_path, disabled: true

Version data entries

5 entries across 5 versions & 1 rubygems

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