Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 54ecab187c
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (39 sloc) 1.471 kb
<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>
{{ form.errors.description }}
<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>
Jump to Line
Something went wrong with that request. Please try again.