Sha256: 3f3981c397e0141a86694a9c44c2a3d08482bd7dc58503f79ebe5021bb42d753
Contents?: true
Size: 771 Bytes
Versions: 1
Compression:
Stored size: 771 Bytes
Contents
<% javascript 'backend/seo' %> <% sluggable_field ||= 'title' %> <% slug ||= nil %> <% empty_slug = f.object.seo_slug.blank? %> <%= content_tag :div, class: 'card', data: { seo: true, empty_slug: empty_slug, 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: :string %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
udongo-7.9.0 | app/views/backend/_seo_form.html.erb |