Module: Nacho::Common

Includes:
ActionView::Context
Included in:
ActionView::Helpers::FormHelper, Helper
Defined in:
lib/nacho/common.rb

Overview

The common code module for the FormBuilder helper and the form tag helper.

Author:

  • Daniel Ward

Constant Summary collapse

HTML5_OPTION_VALUE_KEY =
"data-nacho-option-value-key"
HTML5_OPTION_TEXT_KEY =
"data-nacho-option-text-key"
HTML5_NEW_ITEM_VALUE_KEY =
"data-nacho-new-value-key"
HTML5_MODAL_ID_KEY =
"data-nacho-modal-id"
HTML5_MODAL_HTML_KEY =
"data-nacho-modal"
HTML5_ADD_NEW_VALUE_KEY =
"data-nacho-add-new-value"