Remove extra div wrappings from list items
These are unnecessary, and also prevent the secondary-actions vertical border from appearing.
This commit is contained in:
parent
751e8ad32c
commit
0a0ff5e7d6
1 changed files with 2 additions and 6 deletions
|
@ -12,15 +12,11 @@
|
|||
|
||||
<% if @user %>
|
||||
<% if @user == current_user %>
|
||||
<div>
|
||||
<li><%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
|
||||
</div>
|
||||
<li><%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<% if current_user %>
|
||||
<div>
|
||||
<li><%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
|
||||
</div>
|
||||
<li><%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue