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

Version Path
udongo-7.4.0 app/views/backend/_seo_form.html.erb
udongo-7.3.5 app/views/backend/_seo_form.html.erb
udongo-7.3.4 app/views/backend/_seo_form.html.erb
udongo-7.3.3 app/views/backend/_seo_form.html.erb
udongo-7.3.2 app/views/backend/_seo_form.html.erb
udongo-7.3.1 app/views/backend/_seo_form.html.erb
udongo-7.2.1 app/views/backend/_seo_form.html.erb
udongo-7.2.0 app/views/backend/_seo_form.html.erb
udongo-7.1.3 app/views/backend/_seo_form.html.erb
udongo-7.1.2 app/views/backend/_seo_form.html.erb
udongo-7.1.1 app/views/backend/_seo_form.html.erb
udongo-7.1.0 app/views/backend/_seo_form.html.erb
udongo-7.0.4 app/views/backend/_seo_form.html.erb
udongo-7.0.3 app/views/backend/_seo_form.html.erb
udongo-7.0.2 app/views/backend/_seo_form.html.erb
udongo-7.0.1 app/views/backend/_seo_form.html.erb