Sha256: 912d9762c16bcdb0cb3b80afa84e8d47b3bd0495a419ef6e507953b0166ad817

Contents?: true

Size: 219 Bytes

Versions: 12

Compression:

Stored size: 219 Bytes

Contents

module Auther
  module FoundationHelper
    def render_foundation_error enabled, options = {}
      classes = options.fetch :classes, []
      classes << "error" if enabled
      classes.compact * ' '
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
auther-4.1.0 app/helpers/auther/foundation_helper.rb
auther-4.0.0 app/helpers/auther/foundation_helper.rb
auther-3.2.0 app/helpers/auther/foundation_helper.rb
auther-3.1.0 app/helpers/auther/foundation_helper.rb
auther-3.0.0 app/helpers/auther/foundation_helper.rb
auther-2.2.0 app/helpers/auther/foundation_helper.rb
auther-2.1.0 app/helpers/auther/foundation_helper.rb
auther-2.0.0 app/helpers/auther/foundation_helper.rb
auther-1.4.0 app/helpers/auther/foundation_helper.rb
auther-1.3.0 app/helpers/auther/foundation_helper.rb
auther-1.2.0 app/helpers/auther/foundation_helper.rb
auther-1.1.0 app/helpers/auther/foundation_helper.rb