.d-inline-block.my-3.mx-2
  = mega_octicon(:paintcan)
h3.d-inline-block.my-3 = @style.title
.border.p-2
  = if !is_nil(@current_user) && @current_user.name == @style.user.name do
    .pb-2.clearfix
      a.float-right href="#{style_path(@conn, :edit, @style.user.name, @style.id)}"
        = octicon(:pencil)
  pre
    code = @style.code

.d-inline-block.my-3.mx-2
  = mega_octicon(:paintcan)
h3.d-inline-block.my-3 = @style.title
.border.p-2
  .pb-2.clearfix
    = gettext "Last updated on"
    = @style.updated_at
    = if !is_nil(@current_user) && @current_user.name == @style.user.name do
      a.float-right href="#{style_path(@conn, :edit, @style.user.name, @style.id)}"
        = octicon(:pencil)
  pre
    code = @style.code

Add last updated date to show style template
Add last updated date to show style template

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