diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/show.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/show.html.twig
index ce4c22304..59ed0c841 100644
--- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/show.html.twig
+++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/show.html.twig
@@ -152,7 +152,7 @@
{% if entity.documents|length > 0 %}
{% for d in entity.documents %}
- - {{ m.download_button(d) }}
+ - {{ d.title }}{{ m.download_button(d) }}
{% endfor %}
{% else %}
diff --git a/src/Bundle/ChillDocStoreBundle/Form/StoredObjectType.php b/src/Bundle/ChillDocStoreBundle/Form/StoredObjectType.php
index ebe25b9e6..4a61cbebc 100644
--- a/src/Bundle/ChillDocStoreBundle/Form/StoredObjectType.php
+++ b/src/Bundle/ChillDocStoreBundle/Form/StoredObjectType.php
@@ -68,7 +68,9 @@ class StoredObjectType extends AbstractType
if ($options['has_title']) {
$builder
- ->add('title', TextType::class);
+ ->add('title', TextType::class, [
+ 'label' => 'Title',
+ ]);
}
}
diff --git a/src/Bundle/ChillDocStoreBundle/Resources/views/Form/fields.html.twig b/src/Bundle/ChillDocStoreBundle/Resources/views/Form/fields.html.twig
index 3ab0ff255..7e49863e0 100644
--- a/src/Bundle/ChillDocStoreBundle/Resources/views/Form/fields.html.twig
+++ b/src/Bundle/ChillDocStoreBundle/Resources/views/Form/fields.html.twig
@@ -1,9 +1,9 @@
{% block stored_object_widget %}
-
{% endblock %}