Skip to content
Permalink
c064f2aaf5
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
27 lines (23 sloc) 758 Bytes
{{> header }}
<main>
<h2>{{ question.body }}</h2>
{{#if auth}}
{{#if msg}}
<p>{{msg}}</p>
{{/if}}
<form action ="/question/{{ question.id }}/answer-action" method = "POST">
<label>Answer:<br></label>
<textarea type="text" placeholder = "Input answer..." maxlength="1500" name="body"></textarea>
<p><input type="submit" value="Submit Answer"></p>
</form>
{{/if}}
{{#each answers}}
<article style="background-color: white;">
<p>{{ body }}</p>
<p>{{ date }}</p>
<p>{{ user_name }}</p>
</article>
<hr>
{{/each}}
</main>
{{> footer }}