I tried it on http://haml-lang.com/try.html and it inserts the icon tag between the input opening and closing tags. Aren't you seeing that in the html? Perhaps your css is causing unexpected results?
On Feb 3, 3:22 am, Mauro <[email protected]> wrote: > On 2 February 2012 19:31, Les Nightingill <[email protected]> wrote: > > > %input.btn.commit.create{:name => 'commit', :type => 'submit', :value > > => 'Try'} > > %i.icon-pencil/ > > It does not insert the icon inside the button but it insert outside on > the right. -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
