diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-16 17:35:28 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-16 17:35:28 +0200 |
commit | d5265bb9ae3cd188b72573b34e908c35c74903f9 (patch) | |
tree | d80c4dca6ff3fbf415d8e59b8ba662e40fca3d87 /examples/view/url1/index.haml | |
parent | 2fde112c0033ec57bb7f5d7830f6e31021afd740 (diff) | |
download | zorglub-d5265bb9ae3cd188b72573b34e908c35c74903f9.zip zorglub-d5265bb9ae3cd188b72573b34e908c35c74903f9.tar.gz |
add example haml files
Diffstat (limited to 'examples/view/url1/index.haml')
-rw-r--r-- | examples/view/url1/index.haml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/view/url1/index.haml b/examples/view/url1/index.haml new file mode 100644 index 0000000..577e342 --- /dev/null +++ b/examples/view/url1/index.haml @@ -0,0 +1,11 @@ +%h3='My content' +-action.each do |k,v| + %p="#{k} => #{v}" +%p + %a{:href=>Node1.r('alt')}="alternative" +%p + %a{:href=>Node2.r('index')}="Node2::index" +%p + %a{:href=>Node2.r('alt')}="Node2::alt" +%p + %a{:href=>Node1.r('pour', 'voir')}="nowhere" |