Sha256: a7278a9644a428005b09d1928126d91366f8278726c1d92df0735354a832162a

Contents?: true

Size: 974 Bytes

Versions: 6

Compression:

Stored size: 974 Bytes

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title"><%= title %></h2>
  </div>
  <div class="card-section user-fields">
    <div class="row column">
      <%= form.select :existing_user, [[t(".non_user"), false], [t(".existing_user"), true]], label: t(".user_type") %>
    </div>

    <div class="row column user-fields--user-picker">
      <% prompt_options = { url: decidim_admin.users_organization_url, placeholder: t(".select_user") } %>
      <%= form.autocomplete_select(:user_id, form.object.user.presence, { multiple: false }, prompt_options) do |user|
        { value: user.id, label: "#{user.name} (@#{user.nickname})" }
      end %>
    </div>

    <div class="row column user-fields--email">
      <%= form.email_field :email %>
    </div>

    <div class="row column user-fields--name">
      <%= form.text_field :name %>
    </div>
  </div>
</div>

<%= javascript_include_tag "decidim/votings/admin/monitoring_committee_members_form" %>

Version data entries

6 entries across 6 versions & 1 rubygems

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