Sha256: 173b4ae8e3d57b97dcf2f622512b153f1d15f3fac34c9b0f285cc65861c1e3e9
Contents?: true
Size: 1.43 KB
Versions: 104
Compression:
Stored size: 1.43 KB
Contents
<% context ||= @team %> <% hide_actions ||= false %> <% hide_back ||= false %> <%= cable_ready_updates_for context, :memberships do %> <%= render 'account/shared/box' do |box| %> <% box.title t(".contexts.#{context.class.name.underscore}.header") %> <% box.description do %> <%= raw t(".contexts.#{context.class.name.underscore}.#{@memberships.any? ? 'description' : 'description_empty'}") %> <%= render "shared/limits/index", model: @memberships.model %> <% end %> <% box.table do %> <% if @memberships.any? %> <table class="table"> <thead> <tr> <th><%= t('memberships.singular') %></th> <th><%= t('memberships.fields.role_ids.heading') %></th> <%# 🚅 super scaffolding will insert new field headers above this line. %> <th></th> </tr> </thead> <tbody data-model="Membership" data-scope="current"> <%= yield %> </tbody> </table> <% end %> <% end %> <% unless hide_actions %> <% box.actions do %> <%= link_to t('invitations.buttons.new'), new_account_team_invitation_path(@team, cancel_path: account_team_memberships_path(@team)), class: "#{first_button_primary}" %> <%= link_to t('global.buttons.back'), [:account, context], class: "#{first_button_primary} back" unless hide_back %> <% end %> <% end %> <% end %> <% end %>
Version data entries
104 entries across 104 versions & 1 rubygems