mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
10 lines
349 B
Text
10 lines
349 B
Text
<% content_for :content do %>
|
|
<div class="container <%= yield :container_class %>">
|
|
<% if user_signed_in? %>
|
|
<%= render partial: 'shared/flash_alerts',
|
|
locals: { flash: flash, notice: notice, alert: alert } %>
|
|
<% end %>
|
|
<%= yield %>
|
|
</div>
|
|
<% end %>
|
|
<%= render template: 'layouts/application' %>
|