1 {% extends "admin/base_site.html" %}
4 {% load i18n adminmedia fb_tags %}
9 <script type="text/javascript" src="../../jsi18n/"></script>
10 <script type="text/javascript" src="{% admin_media_prefix %}js/core.js"></script>
11 <script type="text/javascript" src="{% admin_media_prefix %}js/admin/CollapsedFieldsets.js"></script>
14 <!-- COLTYPE/BODYCLASS -->
15 {% block coltype %}colM{% endblock %}
16 {% block bodyclass %}change-form{% endblock %}
19 {% block extrastyle %}
21 <link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />
22 <link rel="stylesheet" type="text/css" href="{{ settings_var.URL_FILEBROWSER_MEDIA }}css/filebrowser.css" />
24 <style type="text/css">
25 #header { display: none; }
31 {% block breadcrumbs %}{% include "filebrowser/include/breadcrumbs.html" %}{% endblock %}
35 <div id="content-main">
36 <form action="{% query_string "" "filter_date,filter_type,q" %}" method="post">
39 {% if form.errors %}<p class="errornote">{% trans 'Please correct the following errors.' %}</p>{% endif %}
40 <fieldset class="module aligned">
41 <div class="form-row {% if form.dir_name.errors %}errors{% endif %}">
42 {% if form.name.errors %}<ul class="errorlist">{{ form.name.errors }}</ul>{% endif %}
43 <label class="required" for="id_dir_name">{{ form.name.label }}</label>
45 {% if file_extension %}<b>{{ file_extension }}</b>{% endif %}
48 <fieldset class="module aligned collapse">
49 <h2>{% trans "Help" %}</h2>
50 <div class="form-row" >
51 <label class="required"> </label>
53 {{ form.name.help_text|safe }}
54 {% if settings_var.CONVERT_FILENAME %}<br />{% trans "The Name will be converted to lowercase. Spaces will be replaced with underscores." %}{% endif %}
58 <div class="submit-row">
59 <input type="submit" value="{% trans 'Submit' %}" class="default" />