1 <h3 class="spacer-bottom">Encryption</h3>
2 <p class="spacer-bottom">Secret key is required to be able to encrypt properties. <a href="http://docs.codehaus.org/display/SONAR/Settings+Encryption" class="external">More information</a>.</p>
3 <div id="secret_content">
4 <%= button_to_remote 'Generate secret key',
5 :url => {:action => 'generate_secret'},
6 :update => {:success => 'secret_content', :failure => 'secret_error'},
7 :failure => "$('secret_error').show()",
9 :id => 'submit_generate_secret' -%>
10 <span id="secret_error" class="error" style="display:none"></span>