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">
38 {% if form.errors %}<p class="errornote">{% trans 'Please correct the following errors.' %}</p>{% endif %}
39 <fieldset class="module aligned">
40 <div class="form-row {% if form.dir_name.errors %}errors{% endif %}">
41 {% if form.name.errors %}<ul class="errorlist">{{ form.name.errors }}</ul>{% endif %}
42 <label class="required" for="id_dir_name">{{ form.name.label }}</label>
44 {% if file_extension %}<b>{{ file_extension }}</b>{% endif %}
47 <fieldset class="module aligned collapse">
48 <h2>{% trans "Help" %}</h2>
49 <div class="form-row" >
50 <label class="required"> </label>
52 {{ form.name.help_text|safe }}
53 {% if settings_var.CONVERT_FILENAME %}<br />{% trans "The Name will be converted to lowercase. Spaces will be replaced with underscores." %}{% endif %}
57 <div class="submit-row">
58 <input type="submit" value="{% trans 'Submit' %}" class="default" />