From ceeab5332e5e688eb010ae4153564bfbea20343a Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Tue, 8 Jul 2014 12:21:52 +0200 Subject: [PATCH] Added some help to the edit form. --- .../CalciferBundle/Resources/assets/css/events.scss | 8 ++++++++ .../Resources/views/Event/event_form.html.twig | 6 ++++-- .../CalciferBundle/Resources/views/Event/new.html.twig | 3 ++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/Hackspace/Bundle/CalciferBundle/Resources/assets/css/events.scss b/src/Hackspace/Bundle/CalciferBundle/Resources/assets/css/events.scss index 8004590..cf20091 100755 --- a/src/Hackspace/Bundle/CalciferBundle/Resources/assets/css/events.scss +++ b/src/Hackspace/Bundle/CalciferBundle/Resources/assets/css/events.scss @@ -28,4 +28,12 @@ margin-right: 0.5rem; } } +} + +form .ui.form { + .field { + .attached-label > input, .attached-label > textarea { + margin-bottom: 2rem; + } + } } \ No newline at end of file diff --git a/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/event_form.html.twig b/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/event_form.html.twig index 9685306..10a7e28 100755 --- a/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/event_form.html.twig +++ b/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/event_form.html.twig @@ -54,8 +54,9 @@
-
+
+
Du kannst hier Markdown benutzen.
@@ -91,13 +92,14 @@
-
+
+
Du kannst hier kommasepariert Tags angeben.
diff --git a/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/new.html.twig b/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/new.html.twig index b06123f..ea1b1f4 100755 --- a/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/new.html.twig +++ b/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/new.html.twig @@ -2,7 +2,8 @@ {% block css %} {% stylesheets filter="compass" - "@CalciferBundle/Resources/assets/css/jquery.datetimepicker.scss" %} + "@CalciferBundle/Resources/assets/css/jquery.datetimepicker.scss" + "@CalciferBundle/Resources/assets/css/events.scss" %} {% endstylesheets %} {% endblock %}