Sha256: 7b5922320aec28de0bdada47e600e29d97a90a4bbe4919449cc5fba741fb95da

Contents?: true

Size: 1.76 KB

Versions: 3

Compression:

Stored size: 1.76 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 column">
      <%= form.select :signature_type, form.object.signature_type_options %>
    </div>

    <div class="row column">
      <%= form.check_box :undo_online_signatures_enabled %>
    </div>

    <div class="row column" id="promoting-committee-details">
      <%= form.check_box :promoting_committee_enabled %>

      <div class="row column minimum-committee-members-details">
        <%= form.number_field :minimum_committee_members, min: 0, step: 1 %>
      </div>
    </div>

    <div class="row column">
      <%= form.check_box :collect_user_extra_fields %>
    </div>

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

    <% if current_organization.available_authorizations.include? "sms" %>
      <div class="row column">
        <%= form.check_box :validate_sms_code_on_votes %>
      </div>
    <% end %>

    <div class="row column">
      <%=
        form.select(
          :document_number_authorization_handler,
          current_organization.available_authorizations.map { |name| [t("#{name}.name", scope: "decidim.authorization_handlers"), name] },
          include_blank: true
        )
      %>
    </div>

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

  </div>
</div>

<%= javascript_include_tag "decidim/initiatives/admin/initiatives_types.js" %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-initiatives-0.21.0 app/views/decidim/initiatives/admin/initiatives_types/_form.html.erb
decidim-initiatives-0.20.1 app/views/decidim/initiatives/admin/initiatives_types/_form.html.erb
decidim-initiatives-0.20.0 app/views/decidim/initiatives/admin/initiatives_types/_form.html.erb