Sha256: ec7023341aa79d7db11e64d65d6ab0ab0a177df97adfdb96ca51a99e9b32ca67

Contents?: true

Size: 1.92 KB

Versions: 7

Compression:

Stored size: 1.92 KB

Contents

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

  <div class="card-section">
    <div class="row column">
      <%= form.translated :text_field, :title, autofocus: true %>
    </div>

    <div class="row column">
      <%= form.translated :editor, :description %>
    </div>

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

    <div class="row column">
      <%= form.translated :text_area, :location %>
    </div>

    <div class="row column">
      <%= form.translated :text_area, :location_hints %>
    </div>

    <div class="row">
      <div class="columns xlarge-6">
        <%= form.datetime_field :start_time %>
      </div>

      <div class="columns xlarge-6">
        <%= form.datetime_field :end_time %>
      </div>
    </div>
    <div class="row">
      <% if current_participatory_space.has_subscopes? %>
        <div class="columns xlarge-6">
          <%= scopes_picker_field form, :decidim_scope_id %>
        </div>
      <% end %>

      <div class="columns xlarge-6">
        <%= form.categories_select :decidim_category_id, current_participatory_space.categories, prompt: "", disable_parents: false %>
      </div>
    </div>

    <div class="row column">
      <% prompt_options = { url: decidim_admin.users_organization_url, text: t(".select_organizer") } %>
      <%= form.autocomplete_select(:organizer_id, form.object.organizer.presence, { multiple: false }, prompt_options) do |user|
        { value: user.id, label: "#{user.name} (@#{user.nickname})" }
      end %>
    </div>

    <div class="row column" id="private_meeting">
      <%= form.check_box :private_meeting %>
    </div>

    <div class="row column" id="transparent">
      <%= form.check_box :transparent %>
    </div>
  </div>
</div>

<%= render "services", form: form, id: tabs_id_for_service(blank_service) %>

<%= javascript_include_tag "decidim/meetings/admin/meetings_form" %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-meetings-0.13.1 app/views/decidim/meetings/admin/meetings/_form.html.erb
decidim-meetings-0.12.2 app/views/decidim/meetings/admin/meetings/_form.html.erb
decidim-meetings-0.13.0 app/views/decidim/meetings/admin/meetings/_form.html.erb
decidim-meetings-0.12.1 app/views/decidim/meetings/admin/meetings/_form.html.erb
decidim-meetings-0.13.0.pre1 app/views/decidim/meetings/admin/meetings/_form.html.erb
decidim-meetings-0.12.0 app/views/decidim/meetings/admin/meetings/_form.html.erb
decidim-meetings-0.12.0.pre app/views/decidim/meetings/admin/meetings/_form.html.erb