mailr/app/views/common/_anchor.html.haml
Wojciech Todryk 77c8d3e7d7 devel
2012-03-30 19:31:23 +02:00

9 lines
168 B
Plaintext
Executable file

- size ||= "btn-small"
- type ||= "btn-primary"
- icon ||= ""
%a{:class=>"btn #{size} #{type}",:href=>"#{href}"}
- if !icon.empty?
%i{:class=>"#{icon}"}
= caption