From d67b04c32371c760149531d1e0de5af1a62662cb Mon Sep 17 00:00:00 2001 From: Laura Schatzkin Date: Tue, 3 Mar 2020 14:26:57 -0800 Subject: [PATCH] fixing action titles to be clickable on index pages --- app/views/action_page/index.html.erb | 13 +++++++------ app/views/welcome/index.html.erb | 7 +++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/action_page/index.html.erb b/app/views/action_page/index.html.erb index ecfd70701..c0142acd8 100644 --- a/app/views/action_page/index.html.erb +++ b/app/views/action_page/index.html.erb @@ -28,13 +28,14 @@ <% end %> -
-

- <%= link_to action_page_path(actionPage) do%> - <%= actionPage.title -%> - <% end %> -

+ + <%= link_to action_page_path(actionPage) do%> +
+

+ <%= actionPage.title -%> +

+ <% end %>
<% end %> diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index 75050449d..9bedd115e 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -47,11 +47,10 @@ <% end %>
- -

<%= actionPage.title -%> <%= link_to action_page_path(actionPage) do%> -

-

<%= markdown actionPage.summary -%>

+

<%= actionPage.title -%> +

+

<%= markdown actionPage.summary -%>

<% end %>