From a20d42c38e6f64ad187c39db9ed4b3e89c5c5e8c Mon Sep 17 00:00:00 2001 From: Erhannis Date: Sun, 5 Sep 2021 14:58:04 -0400 Subject: [PATCH] Added 'Create Gallery' button to Galleries page. Dunno if it's in the right spot or whatever, and the 'Create Gallery' page isn't really helpful if you don't already know what image to use as a cover, but at least this gets their foot in the door. (#133) --- lib/philomena_web/templates/gallery/index.html.slime | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/philomena_web/templates/gallery/index.html.slime b/lib/philomena_web/templates/gallery/index.html.slime index e88359c9..15b5312d 100644 --- a/lib/philomena_web/templates/gallery/index.html.slime +++ b/lib/philomena_web/templates/gallery/index.html.slime @@ -28,6 +28,10 @@ elixir: .field = submit "Search", class: "button button--state-primary" + .block + .block__header + a href="/galleries/new" title="Create Gallery" + ' Create Gallery .column-layout__main .block