mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
340 B
20 lines
340 B
5 years ago
|
mixin modal(data)
|
||
|
.modal-bg
|
||
|
.modal
|
||
|
.row
|
||
|
p.bold #{data.title}
|
||
|
a.close.postform-style#modalclose X
|
||
|
.row
|
||
|
ul.nomarks
|
||
|
if data.message
|
||
|
li #{data.message}
|
||
|
if data.error
|
||
|
li #{data.error}
|
||
|
if messages
|
||
|
each msg in data.messages
|
||
|
li #{msg}
|
||
|
if errors
|
||
|
each error in data.errors
|
||
|
li #{error}
|
||
|
|