Sha256: c4817dcbcd01df8356a5868d6030ccfaca6ad4e164330a6a8c96cec153c73c7b
Contents?: true
Size: 984 Bytes
Versions: 7
Compression:
Stored size: 984 Bytes
Contents
<% if model.can_be_joined_by?(current_user) %> <% if model.has_registration_for? current_user %> <%= action_authorized_button_to( :join, meeting_registration_path(model), resource: model, method: :delete, class: "#{button_classes} secondary light", data: { disable: true } ) do %> <%= icon("check", class: "icon--small") %> <%= t("going", scope: "decidim.meetings.meetings.show") %> <% end %> <% else %> <%= render :registration_confirm %> <%= action_authorized_button_to( :join, i18n_join_text, "", resource: model, class: button_classes, disabled: !model.has_available_slots?, data: { open: current_user.present? ? "meeting-registration-confirm-#{model.id}" : "loginModal" } ) %> <% end %> <% if shows_remaining_slots? %> <span><%= t("remaining_slots", scope: "decidim.meetings.meetings.show", count: model.remaining_slots) %></span> <% end %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems