Marcin Kuzminski avatar Marcin Kuzminski committed 747bc42

Changed order of add file form inputs.

Comments (0)

Files changed (1)

rhodecode/templates/files/files_add.html

 		  ${h.form(h.url.current(),method='post',id='eform',enctype="multipart/form-data")}
             <h3>${_('Add new file')}</h3>
             <div class="form">
-                    <div class="fields">
-                         <div class="field">
-                            <div class="label">
-                                <label for="location">${_('Location')}</label>
-                            </div>
-                            <div class="input">
-                                <input type="text" value="${c.f_path}" size="30" name="location" id="location">
-                                ${_('use / to separate directories')}
-                            </div>
-                         </div>
-                                      
-                        <div id="filename_container" class="field file">
-                            <div class="label">
-                                <label for="filename">${_('File Name')}:</label>
-                            </div>
-                            <div class="input">
-                                <input type="text" value="" size="30" name="filename" id="filename">
-                                <input type="button" class="ui-button-small" value="upload file" id="upload_file_enable">
-                            </div>
-                        </div>
-                        <div id="upload_file_container" class="field" style="display:none">
-                          <div class="label">
-                              <label for="location">${_('Upload file')}</label>
-                          </div>
-                          <div class="file">
-                              <input type="file"  size="30" name="upload_file" id="upload_file">
-                              <input type="button" class="ui-button-small" value="create file" id="file_enable">                        
-                          </div>
-                        </div>                                                                      
+              <div class="fields">
+                  <div id="filename_container" class="field file">
+                      <div class="label">
+                          <label for="filename">${_('File Name')}:</label>
+                      </div>
+                      <div class="input">
+                          <input type="text" value="" size="30" name="filename" id="filename">
+                          <input type="button" class="ui-button-small" value="upload file" id="upload_file_enable">
+                      </div>
+                  </div>                    
+                  <div id="upload_file_container" class="field" style="display:none">
+                    <div class="label">
+                        <label for="location">${_('Upload file')}</label>
                     </div>
+                    <div class="file">
+                        <input type="file"  size="30" name="upload_file" id="upload_file">
+                        <input type="button" class="ui-button-small" value="create file" id="file_enable">                        
+                    </div>
+                  </div>
+                   <div class="field">
+                      <div class="label">
+                          <label for="location">${_('Location')}</label>
+                      </div>
+                      <div class="input">
+                          <input type="text" value="${c.f_path}" size="30" name="location" id="location">
+                          ${_('use / to separate directories')}
+                      </div>
+                   </div>                                                                    
+              </div>
             </div>            
 			<div id="body" class="codeblock">
 			    <div id="editor_container">    
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.