Sha256: 4a345f6d78aa511e252a2f50d203f725cf1897628230898acad69d6b5a66944a
Contents?: true
Size: 959 Bytes
Versions: 31
Compression:
Stored size: 959 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_pack_tag "decidim_votings_admin_polling_officers_form" %>
Version data entries
31 entries across 31 versions & 1 rubygems