Sha256: 7670e046d690914b1fe7452fa4adce2b63ec19ebbfdda05d914b375f0bcf8322

Contents?: true

Size: 1.95 KB

Versions: 13

Compression:

Stored size: 1.95 KB

Contents

<div class="form__wrapper">
  <div class="card pt-4">
    <div class="card-section">
      <div class="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--full-name">
          <%= form.text_field :full_name, autofocus: true %>
        </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>

      <div class="row column">
        <% if @form.meetings %>
          <%= form.select :conference_meeting_ids,
                          options_for_select(@form.meetings, selected: meetings_selected ),
                          { include_blank: true },
                          { multiple: true, class: "chosen-select" } %>
        <% end %>
      </div>

      <div class="row column">
        <%= form.translated :text_field, :position, aria: { label: :position } %>
      </div>

      <div class="row column">
        <%= form.translated :text_field, :affiliation, aria: { label: :affiliation } %>
      </div>

      <div class="row column">
        <%= form.translated :editor, :short_bio, aria: { label: :short_bio } %>
      </div>

      <div class="row column">
        <%= form.text_field :twitter_handle %>
      </div>

      <div class="row column">
        <%= form.url_field :personal_url %>
      </div>

      <div class="row column">
        <%= form.upload :avatar, button_class: "button button__sm button__transparent-secondary" %>
      </div>
    </div>
  </div>
</div>

<%= append_javascript_pack_tag "decidim_conferences_admin" %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-conferences-0.29.1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.28.4 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.29.0 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.28.3 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.29.0.rc4 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.29.0.rc3 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.29.0.rc2 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.29.0.rc1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.28.2 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.28.1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.28.0 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.28.0.rc5 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.28.0.rc4 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb