Sha256: 91229bcb1c872bcdc89e7864e3a40ef3005cc3279563f940565c9edd25478de9
Contents?: true
Size: 785 Bytes
Versions: 4
Compression:
Stored size: 785 Bytes
Contents
module Aureus module Helper include Formtastic::Helpers::FormHelper def aureus_toolbar(title, &block) Components::Toolbar.new(title, &block).render end def aureus_navigation(&block) Components::Navigation.new(&block).render end def aureus_messages(flash) Components::Messages.new(flash).render end def aureus_row(&block) Components::Row.new(&block).render end def aureus_box(title, *args, &block) Components::Box.new(title, args, &block).render end def aureus_datatable(resource, &block) Components::DataTable.new(resource, &block).render end alias_method :aureus_form, :semantic_form_for def aureus_listing(&block) Components::Listing.new(&block).render end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
aureus-3.0.5 | lib/aureus/helper.rb |
aureus-3.0.4 | lib/aureus/helper.rb |
aureus-3.0.3 | lib/aureus/helper.rb |
aureus-3.0.2 | lib/aureus/helper.rb |