Sha256: bdfe11f752d172d12d251cf5181ec6951ece742f62e115555edd0e30c1775d7b

Contents?: true

Size: 987 Bytes

Versions: 20

Compression:

Stored size: 987 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 %>
  <div class="row column slug">
    <%= form.text_field :slug %>
    <p class="help-text"><%== t(".slug_help", url: decidim_form_slug_url("pages", 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>

<% if form.object.control_public_access? %>
  <div class="row column">
    <%= form.check_box :allow_public_access %>
  </div>
<% end %>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
decidim-admin-0.26.5 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.27.2 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.27.1 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.26.4 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.27.0 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.26.3 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.27.0.rc2 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.27.0.rc1 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.26.2 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.26.1 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.26.0 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.26.0.rc2 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.26.0.rc1 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.25.2 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.25.1 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.25.0 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.25.0.rc4 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.25.0.rc3 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.25.0.rc2 app/views/decidim/admin/static_pages/_form.html.erb
decidim-admin-0.25.0.rc1 app/views/decidim/admin/static_pages/_form.html.erb