diff options
Diffstat (limited to 'static/website/templates/new-post.html')
-rw-r--r-- | static/website/templates/new-post.html | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/static/website/templates/new-post.html b/static/website/templates/new-post.html deleted file mode 100644 index 8487b70..0000000 --- a/static/website/templates/new-post.html +++ /dev/null @@ -1,45 +0,0 @@ -{% extends 'website/templates/base.html' %} -{% load widget_tweaks %} -{% block content %} - <h4> - <span class="glyphicon glyphicon-pencil"> - </span> Create a new question . . . - </h4> - <hr> - <form role="form" action="" method="POST"> - {% with WIDGET_ERROR_CLASS='field_error' %} - - <p>Please enter the tutorial details.</p> - <div class="row"> - <div class="col-lg-3 col-md-4 col-sm-4"> - {% render_field form.category class+="form-control"%} - </div> - <div class="col-lg-3 col-md-4 col-sm-4"> - {% render_field form.tutorial class+="form-control" disabled="disabled" %} - </div> - <div class="col-lg-2 col-md-2 col-sm-2"> - {% render_field form.minute_range class+="form-control" disabled="disabled" %} - </div> - <div class="col-lg-2 col-md-2 col-sm-2"> - {% render_field form.second_range class+="form-control" disabled="disabled" %} - </div> - </div> - <hr> - - <p>Please enter your question details.</p> - <div class="row"> - <div class="col-lg-10"> - <div class="form-group"> - <label for="id_title">Title:</label> - {% render_field form.title class+="form-control" %} - </div> - <div class="form-group"> - <label for="id_body">Question:</label> - {% render_field form.body class+="form-control" %} - </div> - </div> - </div> - <input class="btn btn-success" type="submit" value="Submit Question"> - {% endwith %} - </form> -{% endblock %} |