survey/templates/panel/campaigns/new/form.html

33 lines
825 B
HTML

<h1>Create new campaigns</h1>
<form
action="{{ page.panel.campaigns.new }}"
method="POST"
class="new-campaign__form"
accept-charset="utf-8"
>
{% include "error_comp" %}
<label class="form__label" for="name">
Name
<input
class="form__input"
name="name"
placeholder=" Joe's website or https://example.com/docs/"
required
id="name"
type="text"
/>
</label>
<label class="form__label" for="difficulties">
Difficulties (comma separated, for example: 555,1111,2222)
<input
class="form__input"
name="difficulties"
placeholder="Comma separated difficulty list, for example: 5000,6000,7000"
required
id="difficulties"
type="text"
/>
</label>
<button class="form__submit" type="submit">Create Campaign</button>
</form>