Sha256: 6591e1bdfd49dba776a5c5092f41db8ff192e1586931883583f21189e1769f03

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

- content_for :scripts do
  :javascript
    function async_get() {
      $.ajax({
        url: "/examples",
        dataType:"html",
        success: function(msg){
          alert(msg);
        }
      })
    }

- content_for :title, "Welcome Page"

= button_to_function "click me", "javascript:async_get()"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
katello-2.2.2 app/views/katello/welcome/show.html.haml
katello-1.5.0 app/views/katello/welcome/show.html.haml