Sha256: dbb03b87cf1e3277bea5a536e607e58036ccef55208c299732be43b826897122

Contents?: true

Size: 1.17 KB

Versions: 45

Compression:

Stored size: 1.17 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 %>
        <%= t("registration_types.index.no_registrations", scope: "decidim.conferences") %>
      <% end %>
    </section>
  </div>
</div>

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
decidim-conferences-0.27.9 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.8 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.7 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.6 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.26.10 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.26.9 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.5 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.26.8 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.4 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.3 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.26.7 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.26.5 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.2 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.1 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.26.4 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.0 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.26.3 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.0.rc2 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.27.0.rc1 app/views/decidim/conferences/registration_types/index.html.erb
decidim-conferences-0.26.2 app/views/decidim/conferences/registration_types/index.html.erb