Module: Asirra::ViewHelpers
- Defined in:
- lib/asirra/view_helpers.rb
Instance Method Summary collapse
Instance Method Details
#asirra_error_tag ⇒ Object
11 12 13 |
# File 'lib/asirra/view_helpers.rb', line 11 def asirra_error_tag render "asirra/error_tag" end |
#asirra_tags(options = {}) ⇒ Object
5 6 7 8 9 |
# File 'lib/asirra/view_helpers.rb', line 5 def (={}) @asirra_enlarged_position = .has_key?(:enlarged_position) ? [:enlarged_position] : "top" @asirra_cells_per_row = .has_key?(:cells_per_row) ? [:cells_per_row] : "6" render "asirra/js_tag" end |