It's been a month and a half for the first time programming
I want to change the following% img to description of image_tag in Haml.
Thank you

% img {: alt =>"",: height =>"20",: src =>"//www-mercari-jp.akamaized.net/assets/img/card/visa.svg?3580354878" ,: width =>"49"}/

  • Answer # 1

    image_tag goes on the premise of .
    If you look at Qiita, you should know how to convert.
    Copy and paste is good, but I think you should check a little.
    And the code is


    Please write in.