1 <% @title = t ".title",
2 :block_on => @user.display_name %>
4 <% content_for :heading do %>
5 <h1><%= t ".heading_html",
6 :block_on => link_to(@user.display_name,
7 user_path(@user)) %></h1>
10 <% unless @user.blocks.active.empty? %>
12 <%= bootstrap_form_for :revoke_all, :url => { :action => "revoke_all" } do |f| %>
14 <div class="form-check">
15 <%= check_box_tag "confirm", "yes", false, { :class => "form-check-input" } %>
16 <%= label_tag "confirm", t(".confirm",
17 :active_blocks => t(".active_blocks",
18 :count => @user.blocks.active.count)), { :class => "form-check-label" } %>
22 <%= f.primary t(".revoke") %>
26 <p><%= t ".empty", :name => @user.display_name %></p>