mailr/app/views/common/_anchor.html.haml

9 lines
168 B
Plaintext
Raw Normal View History

2012-03-30 19:31:23 +02:00
- size ||= "btn-small"
- type ||= "btn-primary"
- icon ||= ""
%a{:class=>"btn #{size} #{type}",:href=>"#{href}"}
- if !icon.empty?
%i{:class=>"#{icon}"}
= caption