Mercurial > hg > soundsoftware-site
comparison .svn/pristine/11/1143136ec6943c91201441e4e743a0264ddfa810.svn-base @ 1296:038ba2d95de8 redmine-2.2
Fix redmine-2.2 branch update (add missing svn files)
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:05:06 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1296:038ba2d95de8 |
---|---|
1 <%= form_tag({:action => 'edit', :tab => 'mail_handler'}) do %> | |
2 | |
3 <div class="box tabular settings"> | |
4 <p> | |
5 <%= setting_text_area :mail_handler_body_delimiters, :rows => 5 %> | |
6 <em class="info"><%= l(:text_line_separated) %></em> | |
7 </p> | |
8 </div> | |
9 | |
10 <div class="box tabular settings"> | |
11 <p><%= setting_check_box :mail_handler_api_enabled, | |
12 :onclick => "if (this.checked) { $('#settings_mail_handler_api_key').removeAttr('disabled'); } else { $('#settings_mail_handler_api_key').attr('disabled', true); }"%></p> | |
13 | |
14 <p><%= setting_text_field :mail_handler_api_key, :size => 30, | |
15 :id => 'settings_mail_handler_api_key', | |
16 :disabled => !Setting.mail_handler_api_enabled? %> | |
17 <%= link_to_function l(:label_generate_key), "if (!$('#settings_mail_handler_api_key').attr('disabled')) { $('#settings_mail_handler_api_key').val(randomKey(20)) }" %> | |
18 </p> | |
19 </div> | |
20 | |
21 <%= submit_tag l(:button_save) %> | |
22 | |
23 <% end %> |