Sha256: 84bae37fb000527fd39afa1206c1878a646ab5376425c571f7b167e362cb7d11

Contents?: true

Size: 1.45 KB

Versions: 31

Compression:

Stored size: 1.45 KB

Contents

<div class="attendee-fields">
  <div class="row column">
    <fieldset class="check-radio-collection">
      <legend><%= t(".attendee_type") %></legend>
      <%= form.collection_radio_buttons(:existing_user, [[t(".non_user"), false], [t(".existing_user"), true]], :last, :first) %>
    </fieldset>
  </div>

  <div class="text-warning attendee-fields--new-user">
    <p><%= t(".invite_explanation") %></p>
  </div>

  <div class="grid-x grid-margin-x">
    <div class="auto cell attendee-fields--new-user">
      <%= form.text_field :name %>
    </div>
    <div class="auto cell attendee-fields--new-user">
      <%= form.text_field :email %>
    </div>

    <div class="auto cell attendee-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, class: "autocomplete-field--results-inline" }, prompt_options) do |user|
          { value: user.id, label: "#{user.name} (@#{user.nickname})" }
        end %>
    </div>
  </div>
  <div class="grid-x grid-margin-x">
    <div class="auto cell">
      <%= form.select :registration_type_id,
                      options_for_select(@form.registration_types_for_select),
                      { include_blank: false },
                      { multiple: false, class: "chosen-select" } %>
    </div>
  </div>
</div>

<%= javascript_pack_tag "decidim_conferences_admin" %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-conferences-0.27.9 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.8 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.7 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.6 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.26.10 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.26.9 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.5 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.26.8 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.4 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.3 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.26.7 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.26.5 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.2 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.1 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.26.4 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.0 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.26.3 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.0.rc2 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.27.0.rc1 app/views/decidim/conferences/admin/conference_invites/_form.html.erb
decidim-conferences-0.26.2 app/views/decidim/conferences/admin/conference_invites/_form.html.erb