Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 584 Bytes
<%= content_for(:main_class, "support support-chapter card-background") %>
<%= content_for :title, @chapter.title %>
<% if @chapter.keep_secret %>
<% content_for :head do %>
<meta name="robots" content="noindex">
<% end %>
<% end %>
<% cache @chapter do %>
<section class="support-chapter-container">
<%= render "table_of_contents" %>
<div class="support-content card">
<h1><%= @chapter.title %></h1>
<p class="support-chapter-description"><%= @chapter.description %></p>
<%= @chapter.content.main.html_safe %>
</div>
</section>
<% end %>