Skip to content

Instantly share code, notes, and snippets.

View teacplusplus's full-sized avatar

ALEKSANDR ROSHAL teacplusplus

View GitHub Profile
/*
* jQuery Form Styler v1.7.3
* https://github.com/Dimox/jQueryFormStyler
*
* Copyright 2012-2015 Dimox (http://dimox.name/)
* Released under the MIT license.
*
* Date: 2015.09.05
*
*/
#modal_reuse.modal.modal_800
.modal__head.clearfix
.modal__title.clearfix
- if @profile_present
| Народная модерация
- else
| Народная модерация. Режим обучения.
.modal__close.arcticmodal-close title="Закрыть"
.modal__body.moder.clearfix
.modal__content.modal__content_wide.clearfix
# Rack middleware that drops non properly encoded cookies that would hurt the ActionDispatch::Cookies middleware.
#
# This is actually a hotfix for issues
# * https://github.com/rack/rack/issues/225
# * https://github.com/rails/rails/issues/2622
module CleanCookies
# Tests whether a string may be decoded as a form component
def decodable?(string)
URI.decode_www_form_component(string)
true