Ruby ternary operator in erb?

后端 未结 1 1488
野的像风
野的像风 2021-01-08 00:40

How can I make this code look better:

<%=raw manuscript.uploaded_to_s3? ? \"\" : \"

        
1条回答
  •  无人及你
    2021-01-08 00:55

    
    

    I would advocate a CSS class rather than style attribute 8P:

    
    

    0 讨论(0)
提交回复
热议问题