1 <h1><%= t('user_block.revoke.heading',
2 :block_on => @user_block.user.display_name,
3 :block_by => @user_block.creator.display_name) %></h1>
5 <% if @user_block.ends_at > Time.now %>
7 <%= t('user_block.revoke.time_future', :time => distance_of_time_in_words_to_now(@user_block.ends_at)) %>
10 <% form_for :revoke, :url => { :action => "revoke" } do |f| %>
11 <%= f.error_messages %>
13 <%= check_box_tag 'confirm', 'yes' %>
14 <%= label_tag 'confirm', t('user_block.revoke.confirm') %>
17 <%= submit_tag t('user_block.revoke.revoke') %>
23 <%= t('user_block.revoke.past', :time => distance_of_time_in_words_to_now(@user_block.ends_at)) %>