{% extends "base.html" %}
{% block title -%}
	Settings
{% endblock title %}

{% block content %}
<div class="tab-content">
	<div class="tab-pane active" id="settings">
		Email:
		<form action="{{url_for('wiki.setEmail', url=settingsUrl) }}" method="post" class="form">
			{{ form.hidden_tag() }}
			{{ input(form.value, placeholder=email, class="span7", autocomplete="off") }}
			<div class="form-actions">
        <div class="pull-left">
          <button class="btn btn-success" type="submit">Save</button>
        </div>
			</div>
		</form>
		Editor path:
		<form action="{{url_for('wiki.setEditor', url=settingsUrl) }}" method="post" class="form">
			{{ form.hidden_tag() }}
			{{ input(form.value, placeholder=editor, class="span7", autocomplete="off") }}
			<div class="form-actions">
        <div class="pull-left">
          <button class="btn btn-success" type="submit">Save</button>
        </div>
			</div>
		</form>
	</div>
	<div class="tab-pane" id="preview"></div>
</div>
{% endblock  content%}
