##// END OF EJS Templates
Changed order of add file form inputs.
marcink -
r1603:53d07666 beta
parent child Browse files
Show More
@@ -39,36 +39,35 b''
39 ${h.form(h.url.current(),method='post',id='eform',enctype="multipart/form-data")}
39 ${h.form(h.url.current(),method='post',id='eform',enctype="multipart/form-data")}
40 <h3>${_('Add new file')}</h3>
40 <h3>${_('Add new file')}</h3>
41 <div class="form">
41 <div class="form">
42 <div class="fields">
42 <div class="fields">
43 <div class="field">
43 <div id="filename_container" class="field file">
44 <div class="label">
44 <div class="label">
45 <label for="location">${_('Location')}</label>
45 <label for="filename">${_('File Name')}:</label>
46 </div>
46 </div>
47 <div class="input">
47 <div class="input">
48 <input type="text" value="${c.f_path}" size="30" name="location" id="location">
48 <input type="text" value="" size="30" name="filename" id="filename">
49 ${_('use / to separate directories')}
49 <input type="button" class="ui-button-small" value="upload file" id="upload_file_enable">
50 </div>
50 </div>
51 </div>
51 </div>
52
52 <div id="upload_file_container" class="field" style="display:none">
53 <div id="filename_container" class="field file">
53 <div class="label">
54 <div class="label">
54 <label for="location">${_('Upload file')}</label>
55 <label for="filename">${_('File Name')}:</label>
56 </div>
57 <div class="input">
58 <input type="text" value="" size="30" name="filename" id="filename">
59 <input type="button" class="ui-button-small" value="upload file" id="upload_file_enable">
60 </div>
61 </div>
62 <div id="upload_file_container" class="field" style="display:none">
63 <div class="label">
64 <label for="location">${_('Upload file')}</label>
65 </div>
66 <div class="file">
67 <input type="file" size="30" name="upload_file" id="upload_file">
68 <input type="button" class="ui-button-small" value="create file" id="file_enable">
69 </div>
70 </div>
71 </div>
55 </div>
56 <div class="file">
57 <input type="file" size="30" name="upload_file" id="upload_file">
58 <input type="button" class="ui-button-small" value="create file" id="file_enable">
59 </div>
60 </div>
61 <div class="field">
62 <div class="label">
63 <label for="location">${_('Location')}</label>
64 </div>
65 <div class="input">
66 <input type="text" value="${c.f_path}" size="30" name="location" id="location">
67 ${_('use / to separate directories')}
68 </div>
69 </div>
70 </div>
72 </div>
71 </div>
73 <div id="body" class="codeblock">
72 <div id="body" class="codeblock">
74 <div id="editor_container">
73 <div id="editor_container">
General Comments 0
You need to be logged in to leave comments. Login now