changeset 4046:38ab60c1fb2b

fixed issues with form upload if settings for repo paths are blocked
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 27 Jun 2013 00:52:58 +0200
parents 9b4ba12ef8c3
children 3608f15f51ed
files rhodecode/templates/admin/settings/settings.html
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/admin/settings/settings.html	Thu Jun 27 00:47:15 2013 +0200
+++ b/rhodecode/templates/admin/settings/settings.html	Thu Jun 27 00:52:58 2013 +0200
@@ -288,6 +288,9 @@
                     <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span>
                 </div>
             </div>
+            %else:
+            ## form still requires this but we cannot internally change it anyway
+            ${h.hidden('paths_root_path',size=30,readonly="readonly", class_="disabled")}
             %endif
             <div class="buttons">
                 ${h.submit('save',_('Save settings'),class_="ui-btn large")}