Sha256: 81a17beadead4fa0afefa3f8e43e479ff38b1d0773d00615a3c160a8dc87d000

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

class Views::Home::Flashes < Views::Base
  def main
    ul {
      li {
        a 'Success', href: 'javascript:DvlFlash("success", "You did it!")'
      }
      li {
        a 'Info', href: 'javascript:DvlFlash("info", "An informational message...")'
      }
      li {
        a 'Error', href: 'javascript:DvlFlash("error", "Oh no, an error occured!")'
      }
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dvl-core-0.1.0 spec/dummy/app/views/home/flashes.rb