diff --git a/app/views/admin/communication/blocks/templates/gallery/_edit.html.erb b/app/views/admin/communication/blocks/templates/gallery/_edit.html.erb index 6f63b728ec45a9450b852b8768456f5f1f808e3e..a609cdc0d5b91eaa1b6d92255d5fc9afedf24d3b 100644 --- a/app/views/admin/communication/blocks/templates/gallery/_edit.html.erb +++ b/app/views/admin/communication/blocks/templates/gallery/_edit.html.erb @@ -1,16 +1,3 @@ - -<div class="mb-3"> - <label aria-label="Title" - for="title"> - Title - </label> - <input class="form-control form-control-lg" - type="text" - v-model="data.title" - placeholder="Type gallery title here" - id="title"> -</div> - <a class="<%= button_classes('mb-4') %>" v-on:click="data.elements.push({alt: '', file: {}})"> Add image diff --git a/app/views/admin/communication/blocks/templates/gallery/_show.html.erb b/app/views/admin/communication/blocks/templates/gallery/_show.html.erb index 420ed90b378baa55d58c47c29751f98e82f45e65..279122296cfad74d06c53975bd63a9727491d60f 100644 --- a/app/views/admin/communication/blocks/templates/gallery/_show.html.erb +++ b/app/views/admin/communication/blocks/templates/gallery/_show.html.erb @@ -1,5 +1,4 @@ <% if @block.data %> - <h2><%= @block.data['title'] %></h2> <div class="row"> <% @block.data['elements'].each do |image| %> <div class="col-xxl-2 col-xl-3 col-6"> diff --git a/app/views/admin/communication/blocks/templates/gallery/_static.html.erb b/app/views/admin/communication/blocks/templates/gallery/_static.html.erb index 49ebec44b59f9fa3ffe0aa46fb9486c5983821ec..00fd58c3d9f7f9baf5a5ba1c4d240e39aa445894 100644 --- a/app/views/admin/communication/blocks/templates/gallery/_static.html.erb +++ b/app/views/admin/communication/blocks/templates/gallery/_static.html.erb @@ -1,5 +1,3 @@ - title: > - <%= prepare_text_for_static block.data['title'] %> images: <% if block.data.has_key?('elements') %> <% block.data['elements'].each do |image|