aboutsummaryrefslogtreecommitdiff
path: root/views/add_solutions.hbs
blob: fe90408ac32854acc47ef9f321d3efecd81cabc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<main id="solutions-main">

<div class="row" id="solutions-main">

<div class="col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3">
    {{# if messages.error }}
        <section class="alert alert-danger custom-Alert">
            <h4>{{ messages.error }}</h4>
        </section>
    {{/if}}
    <h3><i class="fa fa-wpforms" aria-hidden="true"></i> Add Solution </h3>
    <form action="/user/submit_solution/{{examID}}/{{qID}}" method="post">
        <div class="form-group">
            <textarea class="form-control" placeholder="Enter solution here..." rows="5" name="solution"></textarea>
        </div>
        <input type="hidden" name="_csrf" value="{{ csrfToken }}">
        <button class="btn btn-primary">Submit</button>
    </form>
</div>

</div>

</main>