From 2fb533c5f510c821d51fea4a24b6a12b1992184e Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Thu, 22 Feb 2018 23:36:53 +0100 Subject: [PATCH] Maxlength and truncation --- front/src/components/requests/Form.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/front/src/components/requests/Form.vue b/front/src/components/requests/Form.vue index 22d47d79c..68c725ba7 100644 --- a/front/src/components/requests/Form.vue +++ b/front/src/components/requests/Form.vue @@ -4,16 +4,16 @@

Something's missing in the library? Let us know what you would like to listen!

- +

Leave this field empty if you're requesting the whole discography.

- +
- +
@@ -29,8 +29,10 @@
{{ request.artist_name }}
-
{{ truncate(request.albums, 50) }}
-
{{ truncate(request.comment, 50) }}
+
+ {{ request.albums|truncate }}
+
+ {{ request.comment|truncate }}