You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
4 years ago
|
{% extends "layout/basic.html" %}
|
||
|
{% block content %}
|
||
|
<div class="row">
|
||
|
<div class="medium-9 columns">
|
||
|
<div class="section">
|
||
|
<div class="section__body">
|
||
|
<form method="post">
|
||
|
{% include "partials/discussion_edit_form.html" %}
|
||
|
<div class="row"><div class="columns">
|
||
|
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
|
||
|
<button name="operation" value="update" type="submit" class="rounded primary button">
|
||
|
{{ _('Update') }} (Ctrl+Enter)
|
||
|
</button>
|
||
|
{% if ddoc.owner == handler.user._id or handler.user.hasPerm(perm.PERM_DELETE_DISCUSSION) %}
|
||
|
<button name="operation" value="delete" type="submit" class="rounded button">
|
||
|
{{ _('Delete') }}
|
||
|
</button>
|
||
|
{% endif %}
|
||
|
<button type="button" class="rounded button" onclick="window.history.go(-1)">
|
||
|
{{ _('Cancel') }}
|
||
|
</button>
|
||
|
</div></div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="medium-3 columns">
|
||
|
{% include 'components/md_hint.html' %}
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|