Sha256: a12fe916f90934789c87151f0b552ac562b5f580d8da3cce8e98ba4cc17bb1b7

Contents?: true

Size: 1.76 KB

Versions: 31

Compression:

Stored size: 1.76 KB

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title">
      <%= title %>
    </h2>
  </div>

  <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 %>
    </div>

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

    <div class="row column">
      <%= form.translated :editor, :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 %>
    </div>
  </div>
</div>

<%= javascript_pack_tag "decidim_conferences_admin" %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-conferences-0.26.1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.26.0 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.26.0.rc2 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.26.0.rc1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.25.2 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.25.1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.25.0 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.25.0.rc4 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.25.0.rc3 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.25.0.rc2 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.25.0.rc1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb