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

Merge branch 'feature/blocks-contact-programs'

parent d696cbae
No related branches found
No related tags found
No related merge requests found
......@@ -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 %>
address:
<%= block_component_static :street, depth: 4 %>
<%= block_component_static :locality, depth: 4 %>
<%= block_component_static :postal_code, depth: 4 %>
<%= 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 %>
......
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