27 lines
961 B
HTML
27 lines
961 B
HTML
{% extends "minecraft_manager/dashboard.html" %}
|
|
{% load csrf_html %}
|
|
{% block title %}Add Note{% endblock %}
|
|
{% block section %}
|
|
<div id="content">
|
|
<h2 class="sub-header">New Note</h2>
|
|
<div class="row">
|
|
<div class="col-xs-18 col-md-12">
|
|
<form action="" method="post" enctype="multipart/form-data">{% autoescape off %}{% get_csrf_html request %}{% endautoescape %}
|
|
<p><label for="id_filter">Player Filter:</label> <input id="id_filter" type="text"/></p>
|
|
{{ form }}
|
|
<p>
|
|
<label for="attachments">Attachments:</label>
|
|
<input id="attachments" name="attachments" type="file" multiple/>
|
|
</p>
|
|
<button id="saveButton" class="btn btn-primary" type="submit">Save</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
$(document).ready(function() {
|
|
$("#id_player").filterByText($("#id_filter"));
|
|
});
|
|
</script>
|
|
{% endblock section %}
|