Sha256: dd8319f665fdefd1458d89edb9a4611df677d52d95a0fc652cf26fcdc6f99f58

Contents?: true

Size: 679 Bytes

Versions: 18

Compression:

Stored size: 679 Bytes

Contents

= form.input :resource, as: :polymorphic_association, classes: Cmor::Seo::Configuration.resources_autocomplete_options.each_with_object({}) { |(k, v), m| m[k.constantize] = url_for(action: :autocomplete_resource, resource_class_name: k) }
= form.input :path
= form.input :published, as: :boolean

.row
  .col-12
    %h3= Cmor::Seo::MetaTag.model_name.human(count: :other)

.row
  .col-12
    #meta_tags
      .mb-2
      = form.simple_fields_for :meta_tags do |mt_form|
        = render partial: 'meta_tag_fields', locals: { f: mt_form }
      .links.mb-2
        = link_to_add_association t('.add_association'), form, :meta_tags, class: 'btn btn-success'

.row
  .col-12
    %hr

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
cmor_seo-0.0.60.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.59.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.58.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.57.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.56.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.55.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.54.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.53.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.52.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.51.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.50.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.49.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.48.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.45.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.44.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.43.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.42.pre app/views/cmor/seo/items/_form.html.haml
cmor_seo-0.0.41.pre app/views/cmor/seo/items/_form.html.haml