Closed docelic closed 6 years ago
The flash functionality is coming from kemal-flash shard so it is not trivial to change.
However, the desired functionality already works:
With flash["X"] = "message", the "X" is getting inserted into ...class="alert-X".
flash["X"] = "message"
This gives us the ability to create e.g. 3 different success boxes in this way:
flash["success success-my1"] = "Msg 1" flash["success success-my2"] = "Msg 2" flash["success success-my3"] = "Msg 3"
The flash functionality is coming from kemal-flash shard so it is not trivial to change.
However, the desired functionality already works:
With
flash["X"] = "message"
, the "X" is getting inserted into ...class="alert-X".This gives us the ability to create e.g. 3 different success boxes in this way: