Sha256: 5cbc22e84fe0c71224546938a94769cdc1039b7b5a7dae27512d59dac184c2af
Contents?: true
Size: 701 Bytes
Versions: 16
Compression:
Stored size: 701 Bytes
Contents
<% javascript 'backend/seo' %> <% sluggable_field ||= 'title' %> <% slug ||= nil %> <%= content_tag :div, class: 'card', data: { seo: true, path: backend_seo_slugify_path, sluggable_input: "##{f.object_name}_#{sluggable_field}" } do %> <div class="card-header"> <%= t 'b.msg.seo' %> </div> <div class="card-block"> <% if slug.present? %> <%= f.input :seo_slug, as: :string, input_html: { value: slug } %> <% else %> <%= f.input :seo_slug, as: :string %> <% end %> <%= f.input :seo_title, as: :string %> <%= f.input :seo_description, as: :string %> <%= f.input :seo_keywords, as: :string %> <%= f.input :seo_custom, as: :text %> </div> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems