X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Flayouts%2Fapplication.html.erb;h=58c8d8c929c6f66e964a1435265e933d048bfb1d;hb=HEAD;hp=6ac8aa8d6c5e530586ac99e3611d6e3eaa35d22c;hpb=68d23ac1cc9c0f64f5dff661c3c4fe36621948d6;p=feedcatcher.git diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 6ac8aa8..58c8d8c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,8 +1,17 @@ + - - Form: <%= controller.action_name %> - - - <%= yield :layout %> - + + Feedcatcher + <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> + <%= javascript_include_tag "application", "data-turbolinks-track" => true %> + <%= csrf_meta_tags %> + + + <% if flash[:notice] -%> +
<%= h flash[:notice] %>
+ <% end -%> + + <%= yield %> + +