Add screenshots to elements
This commit is contained in:
parent
c7c6023acf
commit
2293751fe2
18 changed files with 232 additions and 20 deletions
|
|
@ -17,11 +17,18 @@
|
|||
<i class="bi bi-trash"></i>
|
||||
<% end %>
|
||||
</div>
|
||||
<% if element.description %>
|
||||
<div class="mb-3">
|
||||
<%= element.description %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<div class="d-flex flex-column flex-sm-row">
|
||||
<% if element.description %>
|
||||
<div class="mb-3 flex-fill">
|
||||
<%= element.description %>
|
||||
</div>
|
||||
<% end %>
|
||||
<%= safe_display(element.screenshot) do %>
|
||||
<%= image_tag(_1.variant(:thumbnail), class: "img-fluid", alt: "Screenshot des getesteten Elements") %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<p class="actions">
|
||||
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue