mirror of
https://github.com/publiclab/mapknitter.git
synced 2025-12-05 16:00:00 +01:00
card view comment (#540)
This commit is contained in:
committed by
Jeffrey Warren
parent
db40d37282
commit
0617dd2080
@@ -1,5 +1,5 @@
|
||||
<div id="c<%= comment.id %>" class="comment" data-comment-id="<%= comment.id %>">
|
||||
<div class="comment-header">
|
||||
<div class="comment-header" style="margin-bottom: 0;border-bottom-left-radius: 0;border-bottom-right-radius: 0;border-bottom: 0; background-color: #f8f8f8">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<a href="//publiclab.org/profile/<%= comment.author %>"><%= comment.author %></a>
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- .comment-header -->
|
||||
<div class="comment-body" data-comment-id="<%= comment.id %>"><%=raw markdown_to_html(comment.body) %></div><!-- .comment-body -->
|
||||
<div class="comment-body" style="border: 1px solid #e7e7e7;padding: 18px; margin-bottom: 20px;" data-comment-id="<%= comment.id %>"><%=raw markdown_to_html(comment.body) %></div><!-- .comment-body -->
|
||||
<div class="comment-edit-form" data-comment-id="<%= comment.id %>" style="display:none">
|
||||
<%= form_for([@map, comment]) do |f| %>
|
||||
<%= f.text_area :body, :class => "form-control" %>
|
||||
|
||||
Reference in New Issue
Block a user