From 1339db3567a189ed928809c59b55d6fca129da33 Mon Sep 17 00:00:00 2001 From: Arsene Karema Date: Wed, 8 Apr 2020 19:25:42 +0200 Subject: [PATCH] Implement the card design Implementation of the form cards --- app/views/forms/index.html.erb | 65 ++++++++++++++++++++++++++++++++-- 1 file changed, 63 insertions(+), 2 deletions(-) diff --git a/app/views/forms/index.html.erb b/app/views/forms/index.html.erb index d3877e7..3d12c10 100644 --- a/app/views/forms/index.html.erb +++ b/app/views/forms/index.html.erb @@ -1,5 +1,66 @@ + + + + + +
+
+
+
+
+ +
+
+ + +
+
+
+
+
+

Form Title

+ +
+
+
+ Placeholder image +
+
+ +
+ +
+
+

Submissions

+

42

+ +
+
+

Form Title

+

06.04.2020

+
+ +
+
+
+
+ + +
+
+ +
+
+
+ + + +
+ +

<% @forms.each do |form| %> - <%= link_to form.title, form_url(form) %> -<% end %> +<%= link_to form.title, form_url(form) %> +<% end %> \ No newline at end of file