Sha256: 889ab0ae25ac44a49fc572f6b95c3d466730061f0e22df01a7722f0a78e3f4d2

Contents?: true

Size: 319 Bytes

Versions: 13

Compression:

Stored size: 319 Bytes

Contents

module ResetButtonHelper
  def restart_icon
    fa_icon('trash-o', title: t(:restart), class: 'fa-fw', role: 'button', tabindex: '0', 'aria-label': t(:restart))
  end

  def restart_guide_link(guide)
    link_to restart_icon, guide_progress_path(guide), data: {confirm: t(:confirm_restart)}, method: :delete
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mumuki-laboratory-5.0.12 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.11 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.10 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.9 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.8 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.7 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.6 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.5 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.4 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.3 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.2 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.1 app/helpers/reset_button_helper.rb
mumuki-laboratory-5.0.0 app/helpers/reset_button_helper.rb