% ch_pp2 = true %> <% int_pp2 = 1 %> <% if (@current_params[:hide_pp2] && @current_params[:hide_pp2].to_i == 0) %> <% ch_pp2 = false %> <% int_pp2 = 0 %> <% end %>