Sha256: 5fe33f7530ad26cd6ab83839653d2f6c5f62a192427ff5615f2c7bf76691fb97
Contents?: true
Size: 1.5 KB
Versions: 127
Compression:
Stored size: 1.5 KB
Contents
<% context ||= @user %> <% collection ||= :integrations_stripe_installations %> <%= render 'account/shared/box' do |box| %> <% box.title t(".contexts.#{context.class.name.underscore}.header") %> <% box.description t(".contexts.#{context.class.name.underscore}.description") %> <% box.body do %> <% if stripe_installations.any? %> <div class="space-y-0 border border-slate-200 shadow-sm rounded-md divide-y divide-slate-200"> <% stripe_installations.each do |stripe_installation| %> <div class="flex py-1.5 px-3 items-center"> <div class="flex-1 min-w-0"> <% if can? :show, stripe_installation.team %> <%= link_to stripe_installation.team.name, [:account, stripe_installation.team, :integrations, :stripe_installations] %> <% else %> <%= stripe_installation.team.name %> <% end %> </div> <div class="flex-0 min-w-0 space-x-2 text-lg"> <% if can? :destroy, stripe_installation %> <%= link_to [:account, stripe_installation, return_to: request.path], method: :delete, data: { confirm: t('.buttons.confirmations.destroy_from_user', team_name: stripe_installation.team.label_string) }, class: 'inline-block text-slate-300 hover:text-slate-400 hover:no-underline' do %> <i class="ti ti-close"></i> <% end %> <% end %> </div> </div> <% end %> </div> <% end %> <% end %> <% end %>
Version data entries
127 entries across 127 versions & 1 rubygems