Sha256: 344ecaf32898106323aed615149e23b8121868215251ff96ae5f45dec2b06998

Contents?: true

Size: 1.59 KB

Versions: 16

Compression:

Stored size: 1.59 KB

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title">
      <%= title %>
      <%= link_to t(".invite_user"), meeting.registrations_enabled ? new_meeting_registrations_invites_path(meeting) : "#", class: "button tiny button--title #{'disabled' unless meeting.registrations_enabled?}" %>
      <span class="exports dropdown tiny button button--simple button--title" data-toggle="export-dropdown"><%= t "actions.export", scope: "decidim.admin" %></span>
      <div class="dropdown-pane" id="export-dropdown" data-dropdown data-auto-focus="true" data-close-on-click="true">
        <ul class="vertical menu add-features">
          <% %w{CSV JSON Excel}.each do |format| %>
            <li class="exports--format--<%= format.downcase %> exports--registrations"><%= link_to t("decidim.admin.exports.export_as", name: t("decidim.#{current_feature.manifest.name}.admin.exports.registrations"), export_format: format), export_meeting_registrations_path(meeting_id: meeting, format: format) %></li>
          <% end %>
        </ul>
      </div>
    </h2>
  </div>

  <div class="card-section">
    <div class="row column">
      <%= form.check_box :registrations_enabled %>
    </div>

    <div class="row column">
      <p><%= t(".registrations_count", count: meeting.registrations.count) %></p>
      <%= form.number_field :available_slots %>
      <p class="help-text"><%= t(".available_slots_help") %></p>
    </div>

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
decidim-meetings-0.10.1 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.10.0 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.9.3 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.9.2 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.9.1 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.9.0 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.8.4 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.8.3 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.8.2 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.8.1 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.8.0 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.7.4 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.7.3 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.7.2 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.7.1 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.7.0 app/views/decidim/meetings/admin/registrations/_form.html.erb