Skip to content
Snippets Groups Projects
Commit 331621c3 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

title

parent 1e1c0958
No related merge requests found
......@@ -5,7 +5,11 @@
%>
<div id="app" v-cloak>
<%= simple_form_for [:admin, @block] do |f| %>
<%= f.input :title %>
<div class="row">
<div class="col-xxl-4 col-md-6">
<%= f.input :title %>
</div>
</div>
<%= render "admin/communication/blocks/templates/#{@block.template}/edit", f: f %>
<textarea name="communication_block[data]" rows="20" cols="200" class="d-none">
{{ JSON.stringify(data) }}
......
......@@ -4,7 +4,7 @@
</a>
<draggable :list="data.elements" handle=".imageHandle" class="row">
<div v-for="(image, imageIndex) in data.elements" class="col-xxl-2 col-xl-3 col-6">
<div v-for="(image, imageIndex) in data.elements" class="col-xxl-2 col-xl-3 col-md-4 col-6">
<div class="card">
<div class="card-header border-bottom">
<a class="btn ps-0 pt-0 imageHandle">
......
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