scinote-web/app/views/layouts/main.html.erb

11 lines
349 B
Plaintext
Raw Normal View History

2016-02-12 23:52:43 +08:00
<% content_for :content do %>
<div class="container <%= yield :container_class %>">
2019-07-12 20:33:41 +08:00
<% if user_signed_in? %>
<%= render partial: 'shared/flash_alerts',
locals: { flash: flash, notice: notice, alert: alert } %>
<% end %>
2016-02-12 23:52:43 +08:00
<%= yield %>
</div>
<% end %>
<%= render template: 'layouts/application' %>