Sha256: 7a3c5b3d3e48e963d0953b3b10b9765a66e6c024ae307bc8cf3530e8d4ec0625

Contents?: true

Size: 1.79 KB

Versions: 29

Compression:

Stored size: 1.79 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_include_tag "decidim/conferences/admin/conference_speakers" %>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
decidim-conferences-0.24.3 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.23.6 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.24.2 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.23.5 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.24.1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.24.0 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.24.0.rc2 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.23.4 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.24.0.rc1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.23.3 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.23.2 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.23.1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.23.1.rc1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.23.0 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.22.0 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.21.0 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.20.1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.20.0 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.19.1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb
decidim-conferences-0.18.1 app/views/decidim/conferences/admin/conference_speakers/_form.html.erb