1 <% @title = t(".title",
2 :block_on => @user_block.user.display_name,
3 :block_by => @user_block.creator.display_name) %>
5 <% content_for :heading do %>
6 <h1><%= t(".heading_html",
7 :block_on => link_to(@user_block.user.display_name, @user_block.user),
8 :block_by => link_to(@user_block.creator.display_name, @user_block.creator)) %></h1>
11 <% if @user_block.ends_at > Time.now %>
13 <%= t(".time_future_html", :time => friendly_date(@user_block.ends_at)) %>
16 <%= bootstrap_form_for :revoke, :url => { :action => "revoke" } do |f| %>
18 <div class="form-check">
19 <%= check_box_tag "confirm", "yes", false, { :class => "form-check-input" } %>
20 <%= label_tag "confirm", t(".confirm"), { :class => "form-check-label" } %>
24 <%= f.primary t(".revoke") %>
29 <%= t(".past_html", :time => friendly_date_ago(@user_block.ends_at)) %>