From dd231a335758873dcd9024db7618837094fcc0a5 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 6 Jul 2018 16:52:48 -0400 Subject: Added page titles refs #4 --- app/views/admin/streams/edit.html.haml | 1 + app/views/admin/streams/index.html.haml | 1 + app/views/admin/streams/new.html.haml | 1 + 3 files changed, 3 insertions(+) (limited to 'app/views/admin/streams') diff --git a/app/views/admin/streams/edit.html.haml b/app/views/admin/streams/edit.html.haml index 1b58331..8d910fe 100644 --- a/app/views/admin/streams/edit.html.haml +++ b/app/views/admin/streams/edit.html.haml @@ -1,2 +1,3 @@ +- title "Editing #{@stream.title}" = form_for @stream, url: admin_stream_url(@stream), html: { id: "entry-form" } do |f| = render partial: "form", locals: { f: f } diff --git a/app/views/admin/streams/index.html.haml b/app/views/admin/streams/index.html.haml index c69c6f9..6903fd1 100644 --- a/app/views/admin/streams/index.html.haml +++ b/app/views/admin/streams/index.html.haml @@ -1,3 +1,4 @@ +- title "Streams" %table#entries %tr %th Title diff --git a/app/views/admin/streams/new.html.haml b/app/views/admin/streams/new.html.haml index 52febf5..875805a 100644 --- a/app/views/admin/streams/new.html.haml +++ b/app/views/admin/streams/new.html.haml @@ -1,2 +1,3 @@ +- title "New stream" = form_for @stream, url: admin_streams_url, html: { id: "entry-form" } do |f| = render partial: "form", locals: { f: f } -- cgit 1.4.1