31 lines
911 B
HTML
31 lines
911 B
HTML
|
{% extends 'administrator/_layout.auth.html' %}
|
||
|
|
||
|
{% block title %}Wiki{% endblock %}
|
||
|
|
||
|
{% block subtitle %}Wiki{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<form action="{{ url_for('administrator.wiki_article_edit', article_id=article.id) }}" method="post">
|
||
|
<label>
|
||
|
Title
|
||
|
<input type="text" name="title" value="{{ article.title }}" class="form-control" />
|
||
|
</label>
|
||
|
<label>
|
||
|
Status
|
||
|
<select name="status">
|
||
|
<option value="0">Inactive</option>
|
||
|
<option value="1">Active</option>
|
||
|
</select>
|
||
|
</label>
|
||
|
<label>
|
||
|
Content
|
||
|
<textarea name="content" class="form-control">{{ article.content }}</textarea>
|
||
|
</label>
|
||
|
<label>
|
||
|
|
||
|
<br/>
|
||
|
<input type="submit" class="btn btn-success" />
|
||
|
</label>
|
||
|
</form>
|
||
|
{% endblock %}
|