%input.btn.commit.create{:name => 'commit', :type => 'submit', :value
=> 'Try'}
%i.icon-pencil/
On Feb 2, 7:33 am, mauro <[email protected]> wrote:
> Hello.
> I have this code
> = f.commit_button "Try"
> that generates this html:
>
> <input class="btn commit create" name="commit" type="submit"
> value="Try" />
>
> I want to insert a tag between the input tags like this:
>
> <input class="btn commit create" name="commit" type="submit"
> value="Try" >
> <i class="icon-pencil"></i>
> </input>
>
> How can I achieve this?
--
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.