1 <% @title = t ".title", :block_on => @user.display_name %>
3 <% content_for :heading do %>
4 <h1><%= t ".heading_html", :block_on => link_to(@user.display_name, @user) %></h1>
7 <% unless @user.blocks.active.empty? %>
9 <%= bootstrap_form_for :revoke_all, :url => { :action => "revoke_all" } do |f| %>
11 <div class="form-check">
12 <%= check_box_tag "confirm", "yes", false, { :class => "form-check-input" } %>
13 <%= label_tag "confirm", t(".confirm",
14 :active_blocks => t(".active_blocks",
15 :count => @user.blocks.active.count)), { :class => "form-check-label" } %>
19 <%= f.primary t(".revoke") %>
23 <p><%= t ".empty", :name => @user.display_name %></p>