Sha256: 5ff02e9111841c2b75bd60f3d8f3d42c7a1f5b3348b26e5f5172ed0699c96784

Contents?: true

Size: 1.51 KB

Versions: 6

Compression:

Stored size: 1.51 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>
</div>

<%= javascript_include_tag "decidim/debates/admin/debates" %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-debates-0.24.3 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.24.2 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.24.1 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.24.0 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.24.0.rc2 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.24.0.rc1 app/views/decidim/debates/admin/debates/_form.html.erb