Sha256: 1adea8cc05e3ec8b0dee9db424be4810f13ee887510d051688e5e589bcc1f7dd

Contents?: true

Size: 1.85 KB

Versions: 11

Compression:

Stored size: 1.85 KB

Contents

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

  <div class="card-section">
    <div class="row column  hashtags__container">
      <%= form.translated :text_field, :title, autofocus: true, class: "js-hashtags", hashtaggable: true, value: @meeting.present? ? present(@meeting).title(all_locales: true) : @form.title.with_indifferent_access %>
    </div>

    <div class="row column hashtags__container">
      <%= form.translated :editor, :description, hashtaggable: true, value: @meeting.present? ? present(@meeting).description(all_locales: true) : @form.description.with_indifferent_access %>
    </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 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 "decidim/meetings/admin/meetings/services", form: form %>

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
decidim-meetings-0.22.0 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
decidim-meetings-0.21.0 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
decidim-meetings-0.20.1 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
decidim-meetings-0.20.0 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
decidim-meetings-0.19.1 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
decidim-meetings-0.18.1 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
decidim-meetings-0.19.0 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
decidim-meetings-0.17.2 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
decidim-meetings-0.18.0 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
decidim-meetings-0.17.1 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb
decidim-meetings-0.17.0 app/views/decidim/meetings/admin/meeting_copies/_form.html.erb