/
application.html.haml
36 lines (30 loc) · 1009 Bytes
/
application.html.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
!!!5
%html{ :lang => "en-gb", :xmlns => "http://www.w3.org/1999/xhtml", "xml:lang" => "en-gb" }
%head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
%title
SagePay Rails Example
= stylesheet_link_tag 'screen', :media => 'screen, projection'
= stylesheet_link_tag 'print', :media => 'print'
/[if IE]
= stylesheet_link_tag 'ie', :media => 'screen, projection'
%body
#container
#header
#title
%h1= link_to "SagePay Rails Example", root_path
%ul#navigation
%li.first= link_to 'Home', root_path
%li= link_to 'Currencies', currencies_path
%hr
#content
#flash
- flash.each do |severity, message|
%p{:class => severity}= message
= yield
#sidebar
= content_for(:sidebar)
#footer
%hr
%p
Web app produced by the lovely people at #{link_to "Rubaidh Ltd.", "http://rubaidh.com/"}.