From 5bcd010055cc5e3e69b78f82092d2bd2d4128361 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Sat, 8 Aug 2015 00:15:26 +0200 Subject: [PATCH] Don't Repeat Yourself (and use partial templates) --- templates/index.html.ep | 63 ++------------------------ templates/partial/for_my_delay.html.ep | 20 ++++++++ 2 files changed, 23 insertions(+), 60 deletions(-) create mode 100644 templates/partial/for_my_delay.html.ep diff --git a/templates/index.html.ep b/templates/index.html.ep index 94248a1..45d0624 100644 --- a/templates/index.html.ep +++ b/templates/index.html.ep @@ -32,33 +32,12 @@
-
<%= submit_button l('Let\'s go!'), class => 'btn btn-sm btn-default btn-primary', id => 'submitbutton' %>
@@ -84,25 +63,7 @@