mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +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' %>
|