forked from mozilla/zamboni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ajax_new.html
42 lines (38 loc) · 1.4 KB
/
ajax_new.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<div id="collections-new" class="collections-details">
<h3>{{ _('Start a New Collection') }}</h3>
<form>
<fieldset>
{{ field(form.name, _('Name:')) }}
{% set slug_base = url('collections.user', user.get_profile().username, add_prefix=False) %}
<p id="collection-form-slug">
{{ form.errors['slug'] }}
<label>{{ form.slug.label }}</label>
<span id="slug_edit" class="edit_with_prefix edit_initially_hidden">
<span>{{ slug_base }}</span>{{ form.slug }}
</span>
<span id="slug_readonly">
{{ slug_base }}<span id="slug_value"></span>
<a id="edit_slug" href="#">{{ _('Edit') }}</a>
</span>
</p>
<p>
<label for="id_description">{{ form.description.label }}</label> {{ _('(optional)') }}
{{ form.description }}
</p>
<label>{{ form.listed.label }}</label>
{{ form.listed }}
</fieldset>
<p class="note">
{% trans legal='http://www.mozilla.com/about/legal.html#site' %}
As noted in our
<a href="{{ legal }}">Legal Notices</a>, individual collection
arrangements are governed by the Creative Commons Attribution
Share-Alike License
{% endtrans %}
</p>
<p>
<input type="submit" value="{{ _('Create Collection') }}">
{% trans %}or <a id="collections-new-cancel" href="#">Cancel</a>{% endtrans %}
</p>
</form>
</div>