Use flex grid for diary index headings
This commit is contained in:
parent
afce5886f4
commit
2c9d2486ec
1 changed files with 21 additions and 16 deletions
|
@ -1,9 +1,13 @@
|
|||
<% content_for :head, tag(:meta, :name => :robots, :content => :noindex) %>
|
||||
<% content_for :heading do %>
|
||||
<div <% if @user %> id="userinformation"<% end %>>
|
||||
<div <% if @user %> id="userinformation"<% end %> class="row">
|
||||
<% if @user %>
|
||||
<%= user_image @user %>
|
||||
<div class="col-auto">
|
||||
<%= user_image @user, :class => "user_image_no_margins" %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<div class="col">
|
||||
<h1><%= @title %></h1>
|
||||
|
||||
<nav class="secondary-actions">
|
||||
|
@ -22,6 +26,7 @@
|
|||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<% if @entries.empty? %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue