Sha256: c240d527774534fdacdfdfe18ceed17d4eb9a7d2afea70995951838708af0d64

Contents?: true

Size: 896 Bytes

Versions: 8

Compression:

Stored size: 896 Bytes

Contents

<div class="row column">
  <%= form.translated :text_field, :title, autofocus: true %>
</div>

<% if allowed_to? :update_slug, :static_page, static_page: form.object %>
  <%= javascript_include_tag "decidim/slug_form" %>
  <div class="row column slug">
    <%= form.text_field :slug %>
    <p class="help-text"><%== t(".slug_help", url: decidim_form_slug_url("", form.object.slug)) %></p>
  </div>
<% end %>

<div class="row column">
  <%= form.translated :editor, :content, toolbar: :full, lines: 25 %>
</div>

<div class="row column">
  <%= form.select :topic_id, form.object.topics.map { |topic| [translated_attribute(topic.title), topic.id] }, include_blank: t(".none") %>
</div>

<%= render partial: "form_notable_changes", locals: { form: form } %>

<div class="row column">
  <%= form.number_field :weight %>
</div>

<div class="row column">
  <%= form.check_box :show_in_footer %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-admin-0.22.0 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.21.0 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.20.1 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.20.0 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.19.1 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.18.1 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.19.0 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.18.0 app/views/decidim/admin/static_pages/_form.html.erb