Sha256: e4dcf4c586317619c6b10dee96d87dd07c5d745497881d1458f02ba2a1cd37a1

Contents?: true

Size: 1.03 KB

Versions: 62

Compression:

Stored size: 1.03 KB

Contents

- @page_title = @help_article.name

.view
  .view__header
    .grid.grid--middle.grid--right
      .grid__cell.grid__cell--50
        .view__heading
          = link_to "↑ #{t('workarea.admin.help.show.index_link')}", help_index_path
          %h1= @help_article.name
      .grid__cell.grid__cell--25
        - if current_user.help_admin?
          .grid.grid--auto.grid--right
            .grid__cell
              = link_to edit_help_path(@help_article), title: t('workarea.admin.help.show.edit_name', name: @help_article.name) do
                = inline_svg('workarea/admin/icons/edit.svg', class: 'svg-icon', title: t('workarea.admin.help.show.edit'))
            .grid__cell
              = form_tag help_path(@help_article), method: 'delete' do
                = button_tag class: 'button-reset', title: t('workarea.admin.actions.delete') do
                  = inline_svg('workarea/admin/icons/delete.svg', class: 'svg-icon svg-icon--red', title: t('workarea.admin.actions.delete'))

  .view__container
    .help-article
      != @article_body

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.13 app/views/workarea/admin/help/show.html.haml
workarea-admin-3.4.12 app/views/workarea/admin/help/show.html.haml