Improve feedback list some more
This commit is contained in:
parent
9cc1358283
commit
2486c701a5
1 changed files with 5 additions and 3 deletions
|
@ -15,14 +15,16 @@
|
|||
% for my $feedback ( $feedback_rs->all ) {
|
||||
<div class="col col-md-4 mb-3">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
%= $feedback->user->email;
|
||||
</div>
|
||||
<div class="card-block">
|
||||
<h6 class="card-title">
|
||||
%= format_human_datetime $feedback->submitted_at;
|
||||
</h6>
|
||||
<h6 class="card-subtitle mb-2 text-muted">
|
||||
%= $feedback->user->email;
|
||||
</h6>
|
||||
<pre class="card-text"><%= truncate_text $feedback->feedbacktext => 50; %></pre>
|
||||
</div>
|
||||
<div class="card-footer text-right">
|
||||
<a href="<%= url_for . '/' . $feedback->id %>" class="card-link">
|
||||
More info
|
||||
</a>
|
||||
|
|
Reference in a new issue