]> source.dussan.org Git - sonarqube.git/commitdiff
Move settings help to its own div, under save button
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Mon, 16 Sep 2013 07:48:51 +0000 (09:48 +0200)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Mon, 16 Sep 2013 07:50:02 +0000 (09:50 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb

index f41fb6c56637970d3b10f664f0f0aa4f68e58078..707f44630e12046db06303f1630f662d682391c7 100644 (file)
         </tbody>
       </table>
 
-      <% unless category_help(@category).blank? -%>
-        <div class="help marginbottom10" style="margin-left: -1px">
-          <%= category_help(@category) -%>
-        </div>
-      <% end -%>
-
       <% unless @definitions.empty? %>
-      <div style="padding-left: 5px;">
+      <div class="marginbottom10" style="padding-left: 5px;">
         <%= hidden_field_tag('page_version', (params[:page_version] || 0).to_i + 1) -%>
         <%= submit_tag(message('settings.save_category', :params => [subcategory_name(@category, @subcategory)]), :id => 'submit_settings') -%>
         <img src="<%= ApplicationController.root_context -%>/images/loading.gif" id="loading_settings" style="display:none;">
       </div>
       <% end %>
+
+      <% unless category_help(@category).blank? -%>
+        <div class="help marginbottom10" style="margin-left: -1px">
+          <%= category_help(@category) -%>
+        </div>
+      <% end -%>
+
     <% end %>
   </form>
   <% end -%>