Show info about github flavored md under comment box

openid
Marcin Kulik 13 years ago
parent 936dac6baa
commit 2a71c08e5f

@ -3,10 +3,24 @@
}
#new-comment {
width: 800px;
textarea {
width: 960px;
width: 100%;
height: 80px;
}
.github-flavor {
text-align: right;
}
.body {
margin-bottom: 0;
textarea {
margin-bottom: 0;
}
}
}
li.comment {

@ -53,9 +53,16 @@
<% if current_user %>
<form id="new-comment">
<label>Your comment</label>
<p>
<p class="body">
<textarea type="text" name="body" id="comment-body"></textarea>
</p>
<p class="github-flavor">
Parsed with <a href="http://github.github.com/github-flavored-markdown/"
target="_blank">GitHub Flavored Markdown</a>
</p>
<button type="submit" class="btn">Post</button>
</form>
<% else %>

Loading…
Cancel
Save