gonito/templates/challenge-discussion.hamlet

18 lines
482 B
Plaintext

<p>
$maybe user <- maybeUser
<form method=post action=@{ChallengeDiscussionR name}#form enctype=#{formEnctype}>
^{formWidget}
<button .btn .btn-primary type="submit">
_{MsgSend} <span class="glyphicon glyphicon-upload"></span>
$nothing
<b>Log in to write a comment
<p>
<a href=@{ChallengeDiscussionFeedR name}>
<img src="/static/images/rss-icon.jpg">
<div .timeline-box>
$forall item <- sortedTimelineItems
^{timelineItemWidget item}