1 {% extends "base.html" %}
4 {{ _("Setup GitHub webhook") }}
7 {% from "macros/forms.html" import render_field, render_submit_field, render_radio_field %}
10 <h1 class="mt-0">{{ self.title() }}</h1>
12 <div class="alert alert-info">
13 {{ _("You can delete the webhook at any time by going into Settings > Webhooks on the repository.") }}
16 <form method="POST" action="" enctype="multipart/form-data">
17 {{ form.hidden_tag() }}
19 {{ render_field(form.event) }}
21 {{ render_submit_field(form.submit) }}
25 You will need admin access to the repository.
26 When setting up hooks on an organisation,
27 <a href="{{ url_for('github.view_permissions') }}">make sure that you have granted access</a>.