Horje
rails image tag Code Example
rails image tag
<%= image_tag 'icon.png', alt: 'icon' %>
# => <img src='app/assets/images/icon.png' alt='icon' />
rails image tag data attribute
<%= image_tag 'filename', title: "title", class: "class", data: { description: '..', title: '..' }  %>
rails image_tag link size
<%= link_to image_tag('btn.png'), '/books/index' %>
--> <a rel="nofollow" href="/books/index"><img alt="Btn" src="/assets/btn.png" /></a>




18

Related
ruby try catch Code Example ruby try catch Code Example
rails remove column from model Code Example rails remove column from model Code Example
Add references rails migration Code Example Add references rails migration Code Example
how to remove columns from rails Code Example how to remove columns from rails Code Example
ruby get current datetime Code Example ruby get current datetime Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11