Sha256: d9fb501ba927c6b782f8007ef94aab2f265adf08d88deed3a9813d413d1ed063

Contents?: true

Size: 1.11 KB

Versions: 13

Compression:

Stored size: 1.11 KB

Contents

<% add_decidim_meta_tags(title: t("registration_types.index.title", scope: "decidim.conferences")) %>

<%
edit_link(
  decidim_admin_conferences.conference_registration_types_path(current_participatory_space.slug),
  :update,
  :conference,
  conference: current_participatory_space
)
%>
<div class="row">
  <div class="columns mediumlarge-12">
    <section class="section">
      <h4 class="section-heading"><%= t("registration_types.index.register", scope: "decidim.conferences") %></h4>
      <% if current_user.present? %>
        <p><%= t(".login_as", name: current_user.name, email: current_user.email ) %></p>
      <% else %>
        <%= render partial: "decidim/conferences/shared/conference_user_login" %>
      <% end %>
      <% if collection.any? %>
        <p><%= t(".choose_an_option") %></p>
        <% collection.each do |registration_type| %>
          <%= cell "decidim/conferences/registration_type", registration_type, allowed: allowed_to?(:join, :conference, conference: current_participatory_space) %>
        <% end %>
      <% else %>
        No registrations
      <% end %>
    </section>
  </div>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-conferences-0.22.0 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.21.0 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.20.1 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.20.0 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.19.1 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.18.1 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.19.0 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.17.2 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.18.0 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.17.1 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.16.1 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.17.0 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.16.0 app/views/decidim/conferences/registration_types/index.html.erb