Sha256: fc2222216f1422136c4280b4d6dc69d718f888394bb5b6499b1b9501b8377624

Contents?: true

Size: 1.66 KB

Versions: 24

Compression:

Stored size: 1.66 KB

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title"><%= title %></h2>
  </div>

  <div class="card-section debate-fields">
     <div class="row column hashtags__container">
      <%= form.translated :text_field, :title, autofocus: true, class: "js-hashtags", hashtaggable: true %>
    </div>

     <div class="row column hashtags__container">
      <%= form.translated :editor, :description, hashtaggable: true %>
    </div>

    <div class="row column">
      <%= form.translated :editor, :instructions %>
    </div>

    <div class="row column">
      <%= form.translated :editor, :information_updates %>
    </div>

    <div class="row column">
      <%= label_tag :debate_type, t(".debate_type") %>
      <%= form.collection_radio_buttons(:finite, [[t(".finite"), true], [t(".open"), false]], :last, :first) %>
    </div>

    <div class="row debate-fields--finite">
      <div class="column xlarge-6">
        <%= form.datetime_field :start_time %>
      </div>
      <div class="column xlarge-6">
        <%= form.datetime_field :end_time %>
      </div>
    </div>

    <% if current_component.has_subscopes? %>
      <div class="row column">
        <%= scopes_picker_field form, :scope_id, root: current_component.scope %>
      </div>
    <% end %>

    <div class="row column">
      <%= form.categories_select :decidim_category_id, current_participatory_space.categories, include_blank: "", disable_parents: false %>
    </div>

    <div class="row column">
      <%= form.check_box :comments_enabled, label: t("enabled", scope: "decidim.comments.admin.shared.availability_fields") %>
    </div>
  </div>
</div>

<%= javascript_pack_tag "decidim_debates_admin" %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
decidim-debates-0.27.9 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.8 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.7 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.6 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.26.10 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.26.9 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.5 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.26.8 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.4 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.3 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.26.7 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.26.5 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.2 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.1 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.26.4 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.0 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.26.3 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.0.rc2 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.27.0.rc1 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.26.2 app/views/decidim/debates/admin/debates/_form.html.erb