Sha256: c793853b3e188854fffed38670b24c41b77b508d7e8283143a9581808558fb6c
Contents?: true
Size: 982 Bytes
Versions: 1
Compression:
Stored size: 982 Bytes
Contents
<p><small><%= link_to "← Back to the thread", simple_discussion.forum_thread_path(@forum_thread) %></small></p> <h2><%= content_tag :span, "Pinned", class: "text-muted" if @forum_thread.pinned? %> <%= @forum_thread.title %></h2> <p class="thread-details"> <strong><%= category_link(@forum_thread.forum_category) %></strong> • Asked <%= time_ago_in_words(@forum_thread.created_at) + ' ago' %> by <%= @forum_thread.user.name %> </p> <br /> <%= content_tag :div, id: dom_id(@forum_post), class: forum_post_classes(@forum_post) do %> <div class="card-header"> <div> <%= avatar_tag(@forum_post.user.email) %> <strong class="forum-post-user"><%= @forum_post.user.name %></strong> <small> commented on <%= link_to @forum_post.created_at.strftime("%b %d, %Y"), simple_discussion.forum_thread_url(@forum_thread, anchor: "forum_post_#{@forum_post.id}") %>:</small> </div> </div> <div class="card-body"> <%= render "form" %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple_discussion-0.9.5 | app/views/simple_discussion/forum_posts/edit.html.erb |