Fix some HTML tag mismatches and other glitches. These are minor, and don't appear to cause browsers any problems, but for the sake of correctness: * A closing td which should be a closing div. * A closing h3 for a corresponding h6 * Two tables with `<thead>` tag and missing `<tr>` around the `<th>` headings. test change for thead fix
32 lines
920 B
Text
32 lines
920 B
Text
<% content_for :heading do %>
|
|
<h1><%= t ".title" %></h1>
|
|
<% end %>
|
|
|
|
<p class='introduction'><%= t ".introduction" %></p>
|
|
|
|
<% sites = %w[beginners_guide help mailing_lists forums irc switch2osm welcomemat wiki] %>
|
|
<% sites.prepend("welcome") if current_user %>
|
|
|
|
<% sites.in_groups_of(3, false) do |group| %>
|
|
<div class="card-deck mb-4">
|
|
<% group.each do |site| %>
|
|
<div class='<%= site %> help-item card'>
|
|
<div class='card-body'>
|
|
<h6 class='card-title'>
|
|
<a href='<%= t ".#{site}.url" %>'>
|
|
<%= t ".#{site}.title" %>
|
|
</a>
|
|
</h6>
|
|
<p class='card-text'><%= t ".#{site}.description" %></p>
|
|
</div>
|
|
<div class="card-footer">
|
|
<small>
|
|
<a href='<%= t ".#{site}.url" %>'>
|
|
<%= t ".#{site}.url" %>
|
|
</a>
|
|
</small>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|