Skip to content
Snippets Groups Projects
Commit 364a21f1 authored by Olivia206's avatar Olivia206
Browse files

Fix timeline

parent 7b6d2552
No related branches found
No related tags found
No related merge requests found
......@@ -3,27 +3,29 @@
<draggable :list="data.elements" handle=".dragHandle" class="list-group">
<div v-for="(element, index) in data.elements" class="list-group-item">
<div class="flex-fill">
<div class="row mb-n3">
<div class="col-lg-1">
<a class="btn ps-0 pt-0 dragHandle">
<i class="fa fa-bars handle"></i>
</a>
</div>
<div class="col-lg-4">
<%= block_component_edit :title, template: @element %>
</div>
<div class="col-lg-6">
<%= block_component_edit :text, template: @element %>
</div>
<div class="col-lg-1">
<a class="btn btn-sm btn-danger ms-3"
v-on:click="data.elements.splice(data.elements.indexOf(element), 1)"
title="<%= t '.remove_event' %>">
<i class="fas fa-times"></i>
</a>
<div class="d-flex">
<div>
<a class="btn ps-0 pt-0 dragHandle">
<i class="fa fa-bars handle"></i>
</a>
</div>
<div class="flex-fill">
<div class="row mb-n3">
<div class="col-lg-5">
<%= block_component_edit :title, template: @element %>
</div>
<div class="col-lg-7">
<%= block_component_edit :text, template: @element %>
</div>
</div>
</div>
<div>
<a class="btn btn-sm btn-danger ms-3"
v-on:click="data.elements.splice(data.elements.indexOf(element), 1)"
title="<%= t '.remove_event' %>">
<i class="fas fa-times"></i>
</a>
</div>
</div>
</div>
</draggable>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment