do not render the development environment for exercises without visible files
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#flash data-message-failure=t('shared.message_failure')
|
||||
- %w[danger info notice success warning].each do |severity|
|
||||
p.alert.flash class="alert-#{severity == 'notice' ? 'success' : severity}" id="flash-#{severity}" = flash[severity]
|
||||
- %w[alert danger info notice success warning].each do |severity|
|
||||
p.alert.flash class="alert-#{{'alert' => 'warning', 'notice' => 'success'}.fetch(severity, severity)}" id="flash-#{severity}" = flash[severity]
|
||||
|
Reference in New Issue
Block a user