{% extends "repo_master.html" %}
{% from "_formhelper.html" import render_field_in_row %}
{% block title %}{{ select.capitalize() }} - {{ repo.name }}{% endblock %}
{%block tag %}home{% endblock %}
{% block repo %}
<section class="settings">
<h3>Settings</h3>
<form action="{{ url_for('.view_settings',
username=username, repo=repo.name) }}" method="post">
<table>
{{ render_field_in_row(form.issue_tracker) }}
{{ render_field_in_row(form.project_docs) }}
</table>
<p class="buttons indent">
<input type="submit" class="submit positive button" value="Update">
<input type="button" value="Cancel" class="button" onclick="history.back();">
{{ form.csrf_token }}
</p>
</form>
</section>
{% endblock %}