.d-inline-block.my-3.mx-2
  = mega_octicon_for_tweak(@tweak)
h3.d-inline-block.my-3 = @tweak.title
.border.p-2
  .pb-2.clearfix
    = gettext "Last updated about "
    = relative_time(@tweak.updated_at)
    = if @current_user && @current_user.name == @tweak.user.name do
      a.float-right href="#{tweak_path(@conn, :edit, @tweak.user.name, @tweak.id)}"
        = octicon(:pencil)
  pre
    code = @tweak.code

.d-inline-block.my-3.mx-2
  = mega_octicon_for_tweak(@tweak)
h3.d-inline-block.my-3 = @tweak.title
.border.p-2
  .pb-2.clearfix
    = gettext "Last updated about "
    = relative_time(@tweak.updated_at)
    = if @current_user && @current_user.name == @tweak.user.name do
      a.float-right.tooltipped.tooltipped-n aria-label="#{gettext "Edit"}" href="#{tweak_path(@conn, :edit, @tweak.user.name, @tweak.id)}"
        = octicon(:pencil)
  pre
    code = @tweak.code

Add tooltip to tweak edit button
Add tooltip to tweak edit button

lee-dohm/atom-style-tweaks,lee-dohm/atom-style-tweaks,lee-dohm/atom-style-tweaks,lee-dohm/atom-style-tweaks