Sha256: 126ed4f7271c19b93ae20b52f686d994f06dcf44dbaf86bc52f856a479542d2b
Contents?: true
Size: 934 Bytes
Versions: 7
Compression:
Stored size: 934 Bytes
Contents
<div class="form__wrapper"> <div class="card"> <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> </div> <%= append_javascript_pack_tag "decidim_votings_admin" %>
Version data entries
7 entries across 7 versions & 1 rubygems