Skip to content

Commit

Permalink
#125 fix element data toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
İsmail Akbudak committed Aug 3, 2016
1 parent 41e094c commit 4632634
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions templates/app/views/hq/cities/_city.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
%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
6 changes: 3 additions & 3 deletions templates/app/views/hq/countries/_country.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
%td= country.name
%td=l country.created_at
%td.action
= link_to([:hq, country], class: 'btn btn-success', toogle: 'tooltip', title: t('tooltips.zoom')) do
= link_to([:hq, country], class: 'btn btn-success', data: { toggle: :tooltip}, title: t('tooltips.zoom')) do
%i.icon-eye-open
= link_to(edit_hq_country_path(country) , class: 'btn btn-info') do
= link_to(edit_hq_country_path(country) , class: 'btn btn-info', data: { toggle: :tooltip }, title: t('tooltips.edit')) do
%i.icon-edit
= link_to([:hq, country], class: 'btn btn-danger', method: :delete, data: { confirm: t('tooltips.are_you_sure') }) do
= link_to([:hq, country], class: 'btn btn-danger', method: :delete, data: { confirm: t('tooltips.are_you_sure'), toggle: :tooltip }, title: t('tooltips.delete')) do
%i.icon-trash

0 comments on commit 4632634

Please sign in to comment.