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

add embed title

parent bd47517b
No related branches found
No related tags found
No related merge requests found
class Communication::Block::Template::Embed < Communication::Block::Template::Base
has_text :code
has_string :iframe_title
has_text :transcription
end
<div class="row">
<div class="col-md-6 mb-3">
<div class="col-md-6">
<%= block_component_edit :code %>
<%= block_component_edit :iframe_title %>
</div>
<div class="col-md-6mb-3">
<div class="col-md-6">
<%= block_component_edit :transcription,
label: t('admin.communication.blocks.components.text.transcription.label'),
placeholder: t('admin.communication.blocks.components.text.transcription.placeholder') %>
......
......@@ -194,7 +194,7 @@ fr:
edit:
caption:
label: Transcription textuelle
placeholder: Écrivez-ici la transcription textuelle du tableau
placeholder: Entrer ici la transcription textuelle du tableau
definitions:
description: Une liste de termes et leur définition. Un genre de dictionnaires, finalement.
edit:
......@@ -212,7 +212,10 @@ fr:
edit:
code:
label: Code du bloc d'intégration HTML
placeholder: Entrez ici le code
placeholder: Entrer le code
iframe_title:
label: Titre de l'iframe (nécessaire pour l'accessibilité)
placeholder: Entrer le titre
files:
description: Une liste de fichiers téléchargeables, présentés avec leur poids.
edit:
......
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