Sha256: f8df78bde3bd25f26bc57ec02fb0347de00de3c6e4a9eeada14ee0eff6812356

Contents?: true

Size: 1.84 KB

Versions: 41

Compression:

Stored size: 1.84 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="position-fields">
      <div class="row column">
        <%= form.select :position, @form.positions_for_select, { include_blank: t(".select_a_position") }, { multiple: false } %>
      </div>

      <div class="row column position-fields--position-other">
        <%= form.text_field :position_other %>
      </div>
    </div>

    <div class="row column">
      <%= form.number_field :weight %>
    </div>

    <div class="row column">
      <%= form.date_field :designation_date %>
    </div>

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

    <div class="row column">
      <%= form.date_field :ceased_date %>
    </div>

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

    <div class="row column">
      <%= form.date_field :birthday %>
    </div>

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

<%= javascript_include_tag "decidim/assemblies/admin/assembly_members" %>

Version data entries

41 entries across 41 versions & 1 rubygems

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