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

better form layout

parent a9ee97e9
No related branches found
No related tags found
No related merge requests found
......@@ -7,3 +7,8 @@
legend ~ *
clear: left
input.form-control[type=text]
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif
font-size: 1rem
color: black
.summernote
color: black
.note-editable
*
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif
&, p, div
font-size: 1rem
b
color: black
font-weight: bold
......
<%= block_component_edit :layout %>
<div class="row mb-4">
<div class="col-xl-6">
<div class="col-xxl-8">
<%= block_component_edit :text %>
<%= block_component_edit :notes %>
</div>
<div class="col-xl-6">
<div class="col-xxl-4">
<label class="form-label">
<%= t "admin.communication.blocks.templates.chapter.edit.image.label" %>
</label>
<div class="row">
<div class="col-xxl-6">
<%= block_component_edit :image %>
</div>
<div class="col-xxl-6">
<%= block_component_edit :alt,
label: t('admin.communication.blocks.components.image.alt.label'),
placeholder: t('admin.communication.blocks.components.image.alt.placeholder') %>
<%= block_component_edit :credit,
label: t('admin.communication.blocks.components.image.credit.label'),
placeholder: t('admin.communication.blocks.components.image.credit.placeholder'),
summernote_config: 'link' %>
</div>
</div>
<%= block_component_edit :image %>
<%= block_component_edit :alt,
label: t('admin.communication.blocks.components.image.alt.label'),
placeholder: t('admin.communication.blocks.components.image.alt.placeholder') %>
<%= block_component_edit :credit,
label: t('admin.communication.blocks.components.image.credit.label'),
placeholder: t('admin.communication.blocks.components.image.credit.placeholder'),
summernote_config: 'link' %>
</div>
</div>
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