21 lines
588 B
Plaintext
Raw Normal View History

2017-06-27 02:15:52 +00:00
component NewThread(user *arn.User)
2017-07-09 02:22:14 +00:00
.widget-form
2017-06-27 02:15:52 +00:00
.widget
input#title.widget-element(type="text", placeholder="Title")
textarea#text.widget-element(placeholder="Content")
2017-06-29 13:55:04 +00:00
select#tag.widget-element(value="general")
2017-06-27 02:15:52 +00:00
option(value="general") General
option(value="news") News
option(value="anime") Anime
option(value="bug") Bug
option(value="suggestion") Suggestion
if user.Role == "admin"
option(value="update") Update
2017-07-09 02:22:14 +00:00
.buttons
button.action(data-action="createThread", data-trigger="click")
Icon("check")
span Create thread