FontAwesome with Grails <g:actionSubmit

前端 未结 2 1630
面向向阳花
面向向阳花 2021-01-19 12:15

I\'ve been trying to add icons to my save, delete, etc. buttons. I have about five buttons using the tag to call an action in a controlle

2条回答
  •  感情败类
    2021-01-19 12:41

    Try passing the class name to remoteLink, which creates a link that uses Ajax to call a remote function and you can add your fontAwesome classes to it.

    
        click (without i tag)
    
    

    or

    
           click (with i tag) 
    
    

    Both approaches should work. enter image description here

提交回复
热议问题