ftp-manager/app/views/layouts/application.html.erb

21 lines
467 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>FtpManager</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag('application', media: 'all', 'data-turbolinks-track' => 'reload') %>
<%= javascript_include_tag('application', 'data-turbolinks-track' => 'reload') %>
</head>
<body>
<header>
<p>
Welcome <%= session[:name] %>
<% #= "(admin)" if session[:admin] == true %>
</p>
</header>
<%= yield %>
</body>
</html>