Sha256: e8456a1b85b0fc2d076a37cc070a09c1b09d8391b1686be58ddb3257491c9b45

Contents?: true

Size: 1.5 KB

Versions: 7

Compression:

Stored size: 1.5 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_pack_tag "decidim_debates_admin" %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-debates-0.25.2 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.25.1 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.25.0 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.25.0.rc4 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.25.0.rc3 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.25.0.rc2 app/views/decidim/debates/admin/debates/_form.html.erb
decidim-debates-0.25.0.rc1 app/views/decidim/debates/admin/debates/_form.html.erb