* feat: port over changes (+ suggestions) from https://github.com/thepracticaldev/dev.to/pull/5892/files * chore: add query over multiple lines * refactor: move the sql logic into the controller instead of in the template * chore: appease code climate
16 lines
486 B
Text
16 lines
486 B
Text
<%= render "shell/top" %>
|
|
<style>.app-shell-loader {display: none;}</style>
|
|
<div id="page-content" class="universal-page-content-wrapper <%= view_class %>" data-current-page="<%= current_page %>">
|
|
<% if flash[:global_notice] %>
|
|
<div class="global-notice">
|
|
<%= flash[:global_notice] %>
|
|
</div>
|
|
<% end %>
|
|
<div id="page-content-inner">
|
|
<% if @hero_html %>
|
|
<%= @hero_html.html_safe %>
|
|
<% end %>
|
|
<%= yield %>
|
|
</div>
|
|
</div>
|
|
<%= render "shell/bottom" %>
|