Sha256: 7b62f86529fe87176b730a55342d0674efc448ccad59206257afc28565838421

Contents?: true

Size: 1.37 KB

Versions: 18

Compression:

Stored size: 1.37 KB

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title">
      <%= title %>
      <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}.each do |format| %>
            <li class="exports--format--<%= format %> exports--registrations"><%= link_to t("decidim.admin.exports.export_as", name: t("decidim.#{current_feature.manifest.name}.admin.exports.registrations"), export_format: format.upcase), 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

18 entries across 18 versions & 2 rubygems

Version Path
decidim-meetings-0.6.8 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-0.6.8 decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.6.7 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-0.6.7 decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.6.6 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-0.6.6 decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.6.5 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-0.6.5 decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.6.4 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-0.6.4 decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.6.3 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-0.6.3 decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.6.2 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-0.6.2 decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.6.1 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-0.6.1 decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-meetings-0.6.0 app/views/decidim/meetings/admin/registrations/_form.html.erb
decidim-0.6.0 decidim-meetings/app/views/decidim/meetings/admin/registrations/_form.html.erb