Sha256: 58582ab0aca829f601aa7742ae971b11f535200323524d3d75a9be45fa563347

Contents?: true

Size: 1.1 KB

Versions: 5

Compression:

Stored size: 1.1 KB

Contents

<p><small><%= link_to "← Back to the thread", help_center.support_thread_path(@support_thread) %></small></p>
<h2><%= content_tag :span, "Pinned", class: "text-muted" if @support_thread.pinned? %> <%= @support_thread.title %></h2>
<p class="thread-details">
  <strong><%= category_link(@support_thread.support_category) %></strong>
  • <%= t('asked_time_ago', time: time_ago_in_words(@support_thread.created_at), author: @support_thread.user.name) %>
</p>
</p>
<br />
<%= content_tag :div, id: dom_id(@support_post), class: support_post_classes(@support_post) do %>
  <div class="py-3 px-6 mb-0 bg-grey-lighter border-b-1 border-grey-light text-grey-darkest">
    <div>
      <%= avatar_tag(@support_post.user.email) %>
      <strong class="support-post-user"><%= @support_post.user.name %></strong>
      <small>
        <%= t('commented_on')%>
        <%= link_to @support_post.created_at.strftime("%b %d, %Y"), simple_discussion.support_thread_url(@support_thread, anchor: "support_post_#{@support_post.id}") %>:
      </small>
    </div>
  </div>
  <div class="flex-auto p-6">
    <%= render "form" %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
help_center-0.1.0 app/views/help_center/support_posts/edit.html.erb
help_center-0.0.9 app/views/help_center/support_posts/edit.html.erb
help_center-0.0.8 app/views/help_center/support_posts/edit.html.erb
help_center-0.0.7 app/views/help_center/support_posts/edit.html.erb
help_center-0.0.6 app/views/help_center/support_posts/edit.html.erb