* use h() on username to avoid XSS
[rails.git] / app / views / user_blocks / edit.html.erb
index 3ca0b903137c373536ea84c8cd1d52849ea741fa..c3111367dd4d7fe11a9b83f8768aba17aeb0d0f2 100644 (file)
@@ -9,7 +9,6 @@
   </p>
   <p>
     <%= label_tag 'user_block_period', t('user_block.edit.period') %><br />
-    <%= hidden_field_tag 'what is the period', params[:user_block_period] %>
     <%= select_tag('user_block_period', options_for_select(UserBlock::PERIODS.collect { |h| [t('user_block.period', :count => h), h.to_s] }, params[:user_block_period])) %>
   </p>
   <p>