templates/app/views/hq/cities/_city.html.haml in cybele-1.9.1 vs templates/app/views/hq/cities/_city.html.haml in cybele-1.9.2
- old
+ new
@@ -2,11 +2,11 @@
%td= city.id
%td= city.name
%td= city.country.name
%td=l city.created_at
%td.action
- = link_to([:hq, city], class: 'btn btn-success', toogle: 'tooltip', title: t('tooltips.zoom')) do
+ = link_to([:hq, city], class: 'btn btn-success', data: { toggle: :tooltip}, title: t('tooltips.zoom')) do
%i.icon-eye-open
- = link_to(edit_hq_city_path(city) , class: 'btn btn-info') do
+ = link_to(edit_hq_city_path(city) , class: 'btn btn-info', data: { toggle: :tooltip }, title: t('tooltips.edit')) do
%i.icon-edit
- = link_to([:hq, city], class: 'btn btn-danger', method: :delete, data: { confirm: t('tooltips.are_you_sure') }) do
+ = link_to([:hq, city], class: 'btn btn-danger', method: :delete, data: { confirm: t('tooltips.are_you_sure'), toggle: :tooltip }, title: t('tooltips.delete')) do
%i.icon-trash
\ No newline at end of file