Sha256: 49bbe4025c184bbf86ff6b43d98242c5ef107489d9c9464c249d552cfaba51e8

Contents?: true

Size: 1.92 KB

Versions: 4

Compression:

Stored size: 1.92 KB

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title">
      <%= t(".title") %>
    </h2>
  </div>

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

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

    <div class="row">
      <div class="columns xlarge-6">
        <%= form.datetime_field :start_time %>
      </div>

      <div class="columns xlarge-6">
        <%= form.datetime_field :end_time %>
      </div>
    </div>

    <div class="row column">
      <%= form.select :voting_type,
                  @form.options_for_voting_type_select,
                  { include_blank: t(".select_a_voting_type"), label: t(".voting_type_label") },
                  { multiple: false } %>
    </div>

    <div class="row column">
      <%= scopes_picker_field form, :scope_id, root: nil %>
    </div>

    <div class="row">
      <div class="columns xlarge-6 slug">
        <%= form.text_field :slug, label: t(".slug") %>
        <p class="help-text">
          <%== t(".slug_help", url: decidim_form_slug_url(:votings, form.object.slug)) %>
        </p>
      </div>
    </div>

    <div class="row">
      <div class="columns xlarge-6 census_contact_information">
        <%= form.text_field :census_contact_information, label: t(".census_contact_information") %>
        <p class="help-text">
          <%== t(".census_contact_information_help") %>
        </p>
      </div>
    </div>

    <div class="row column">
      <%= form.check_box :promoted, label: t(".promoted") %>
    </div>

    <div class="row">
      <div class="columns xlarge-4">
        <%= form.upload :banner_image, label: t(".banner_image") %>
      </div>

      <div class="columns xlarge-4">
        <%= form.upload :introductory_image, label: t(".introductory_image") %>
      </div>
    </div>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-elections-0.26.5 app/views/decidim/votings/admin/votings/_form.html.erb
decidim-elections-0.26.4 app/views/decidim/votings/admin/votings/_form.html.erb
decidim-elections-0.26.3 app/views/decidim/votings/admin/votings/_form.html.erb
decidim-elections-0.26.2 app/views/decidim/votings/admin/votings/_form.html.erb