Skip to content
Snippets Groups Projects
Unverified Commit 4d24fa46 authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

Merge pull request #516 from noesya/feature/blocks-contact-programs

Feature/blocks contact programs
parents a5e41368 43946c61
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,15 @@
blob = component.blob
return unless blob
%>
<%= kamifusen_tag blob, width: 600, class: 'img-fluid mb-1' %>
<section class="block-image">
<div class="container">
<div class="block-content">
<%= kamifusen_tag blob, width: 600, class: 'img-fluid mb-1' %>
<figcaption>
<%= component.template.credit if component.template.credit.present? %>
</figcaption>
</figure>
</div>
</div>
</section>
......@@ -35,7 +35,6 @@
<input type="tel"
class="form-control"
placeholder="<%= t '.phones.placeholder' %>"
maxlength="12"
v-model="data.phone_numbers[index]">
<a class="btn text-danger" v-on:click="data.phone_numbers.splice(index, 1)">
<i class="fas fa-times"></i>
......
<p><%= block_component_preview :name %></p>
<div>
<%= block_component_preview :address %>
<%= block_component_preview :zipcode %>
<%= block_component_preview :city %>
<%= block_component_preview :country %>
</div>
<p>
<%= block_component_preview :name %><br>
<% if @block.template.address.present? %>
<%= @block.template.address %><br>
<% end %>
<%= block_component_preview :zipcode %>
<%= block_component_preview :city %>
<%= block_component_preview :country %>
</p>
<table class="table">
<% @block.template.elements.each do |element| %>
<tr>
......
<%= block_component_static :name %>
<%= block_component_static :address %>
address:
<%= block_component_static :address, depth: 4 %>
<%= block_component_static :zipcode, depth: 4 %>
<%= block_component_static :city, depth: 4 %>
<%= block_component_static :country, depth: 4 %>
<%= block_component_static :phone_numbers %>
<%= block_component_static :emails %>
timetable:
......
This diff is collapsed.
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