Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- h.content_tag :div, class: 'row hooka-list-row-wrapper' do
- h.content_tag :div, class: 'col-lg-4 col-md-4 col-xs-12' do
- h.content_tag :div, class: 'hooka-list-box' do
- h.image_tag self.picture_link, class: 'img-responsive'
- h.content_tag :div, class: 'hooka-list-box-info' do
- h.concat "#{I18n.t('others.title')}: #{self.name}"
- # h.tag :br
- h.content_tag :small do
- h.concat I18n.t('video_advert_index.added')+' '
- h.concat self.created_at
- # h.tag :br
- h.concat 'Liczba vidoe:'
- # h.content_tag :br
- if self.description.present?
- h.link_to 'Opis:', '#', data: {toggle: 'tooltip'}, title: self.description
- h.truncate(self.description, :length => 100, :separator => '.')
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement