Sha256: a05009cfd7b862adb0da49878ba7bcc156cce31753240beec751bc6904d4de63
Contents?: true
Size: 769 Bytes
Versions: 6
Compression:
Stored size: 769 Bytes
Contents
require 'rexml/document' module BulmaFormRails # rdoc-image:../images/moderngeosystems_logo.png # # https://moderngeosystems.com # # This Ruby on Rails Helper module allows easy and efficient flash and validation error box rendering. module MessageBoxHelpers # Render a standard flash messages box. Automatically included with +bulma_validation_box+ and +bulma_index_header+ output. def bulma_message_box render partial: 'bulma_form_rails/message_box' end # Render a standard model validation messages box. Automatically calls +bulma_message_box+. # * +model+ - the model object def bulma_validation_box(model) render partial: 'bulma_form_rails/validation_box', locals: {model: model} end end end
Version data entries
6 entries across 6 versions & 1 rubygems