mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 22:34:47 +00:00
* Added erblint and fixed offenses * Added erblint bintstub. Included erblint into CI * Merged GitHub Actions tasks for rubocop and erblint into one * Added config for erblint. * Reverted erblint call in the CI
8 lines
248 B
Plaintext
8 lines
248 B
Plaintext
<% flash.each do |type, msg| %>
|
|
<div class="p-4 <%= type == "notice" ? "bg-blue-200" : "bg-red-200" %> rounded-lg"><%= msg %></div>
|
|
<% end %>
|
|
|
|
<% errors.each do |message| %>
|
|
<div class="p-4 bg-red-200 rounded-lg"><%= message %></div>
|
|
<% end %>
|