Basic styling of sections page
This commit is contained in:
parent
156caecb21
commit
7656f2a277
9 changed files with 134 additions and 25 deletions
|
@ -1,5 +1,8 @@
|
|||
<% @sections.each do |section| %>
|
||||
<p>
|
||||
<%= link_to section.title, section_url(section) %>
|
||||
</p>
|
||||
<% end %>
|
||||
<div class="title-card-grid">
|
||||
<% @sections.each do |section| %>
|
||||
<%= link_to(section_url(section), html_options = { class: 'title-card-container' }) do %>
|
||||
<h4><%= section.title %></h4>
|
||||
<p><%= section.description %></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue