7 lines
159 B
Plaintext
7 lines
159 B
Plaintext
|
- size ||= "btn-small"
|
||
|
- type ||= "btn-primary"
|
||
|
|
||
|
%button{:class=>"btn #{size} #{type}",:type=>"submit", :name=>"#{name}"}
|
||
|
%i{:class=>"#{icon_class}"}
|
||
|
= text
|