Whitespace fixes for user_blocks erb files
This commit is contained in:
parent
68a5aa5ed8
commit
aa9e9a5eb1
6 changed files with 15 additions and 20 deletions
|
@ -1,8 +1,7 @@
|
|||
<% @title = t '.title', :name => h(@user.display_name) %>
|
||||
<% content_for :heading do %>
|
||||
<h1><%= raw t('.heading',
|
||||
:name => link_to(
|
||||
h(@user.display_name),
|
||||
:name => link_to(h(@user.display_name),
|
||||
user_path(@user))) %></h1>
|
||||
<% end %>
|
||||
<%= form_for(@user_block) do |f| %>
|
||||
|
|
|
@ -4,11 +4,9 @@
|
|||
|
||||
<% content_for :heading do %>
|
||||
<h1><%= raw t('.heading',
|
||||
:block_on => link_to(
|
||||
h(@user_block.user.display_name),
|
||||
:block_on => link_to(h(@user_block.user.display_name),
|
||||
user_path(@user_block.user)),
|
||||
:block_by => link_to(
|
||||
h(@user_block.creator.display_name),
|
||||
:block_by => link_to(h(@user_block.creator.display_name),
|
||||
user_path(@user_block.creator))) %></h1>
|
||||
<% end %>
|
||||
|
||||
|
|
|
@ -4,11 +4,9 @@
|
|||
|
||||
<% content_for :heading do %>
|
||||
<h1><%= raw t('.heading',
|
||||
:block_on => link_to(
|
||||
h(@user_block.user.display_name),
|
||||
:block_on => link_to(h(@user_block.user.display_name),
|
||||
user_path(@user_block.user)),
|
||||
:block_by => link_to(
|
||||
h(@user_block.creator.display_name),
|
||||
:block_by => link_to(h(@user_block.creator.display_name),
|
||||
user_path(@user_block.creator))) %></h1>
|
||||
<ul class='secondary-actions clearfix'>
|
||||
<% if @user_block.ends_at > Time.now.getutc %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue