50 lines
1.6 KiB
HTML
50 lines
1.6 KiB
HTML
{% extends 'administrator/_layout.auth.html' %}
|
|
|
|
{% block title %}Wiki{% endblock %}
|
|
|
|
{% block subtitle %}Wiki{% endblock %}
|
|
|
|
{% block content %}
|
|
<form action="{{ url_for('administrator.wiki_article_create') }}" method="post">
|
|
|
|
<div class="row">
|
|
<div class="large-12 columns">
|
|
<label for="category">
|
|
Category
|
|
</label>
|
|
<select name="category_id" id="category" class="form-control">
|
|
{% for category in categories['items'] %}
|
|
<option value="{{ category.id }}">{{ category.title }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
<div class="large-12 columns">
|
|
<label for="title">
|
|
Title
|
|
</label>
|
|
<input type="text" name="title" value="" id="title" class="form-control" />
|
|
</div>
|
|
<div class="large-12 columns">
|
|
<label for="status">
|
|
Status
|
|
</label>
|
|
<select name="status" id="status" class="form-control">
|
|
<option value="0">Inactive</option>
|
|
<option value="1">Active</option>
|
|
</select>
|
|
</div>
|
|
<div class="large-12 columns">
|
|
<label>
|
|
Content
|
|
</label>
|
|
<textarea name="content" class="form-control"></textarea>
|
|
</div>
|
|
<div class="large-12 columns">
|
|
<label>
|
|
<br/>
|
|
<input type="submit" class="btn btn-success" />
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|