diff --git a/lib/librarix/views/index.slim b/lib/librarix/views/index.slim index 273c51a..c3a524f 100644 --- a/lib/librarix/views/index.slim +++ b/lib/librarix/views/index.slim @@ -1,4 +1,5 @@ -- content_for(:title) { 'Index' } +- content_for :title do + | Movies form method="get" action="/" id="filter" div id="search-main" diff --git a/lib/librarix/views/layout.slim b/lib/librarix/views/layout.slim index eac0514..7bc6866 100644 --- a/lib/librarix/views/layout.slim +++ b/lib/librarix/views/layout.slim @@ -1,7 +1,9 @@ doctype html html head - title = yield_content :title + title + = yield_content :title + | - Librarix meta charset="utf-8" meta name="viewport" content="initial-scale=1.0, user-scalable=yes" link rel="stylesheet" media="all" href="/application.css" diff --git a/lib/librarix/views/search.slim b/lib/librarix/views/search.slim index 43d94d5..71a372f 100644 --- a/lib/librarix/views/search.slim +++ b/lib/librarix/views/search.slim @@ -1,4 +1,5 @@ -- content_for(:title) { 'Search' } +- content_for :title do + | Search form method="get" action="/search" id="search" div id="search-main"