23 lines
827 B
Plaintext
23 lines
827 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Knockout</title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<%= csrf_meta_tags %>
|
|
<%= csp_meta_tag %>
|
|
|
|
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
|
<%= javascript_importmap_tags %>
|
|
</head>
|
|
|
|
<body>
|
|
<nav>
|
|
<%= link_to 'Home', root_path, class: "#{"current" if current_page?(root_path)}" %>
|
|
<%= link_to 'Pins', machines_path, class: "#{"current" if current_page?(machines_path)}" %>
|
|
<%= link_to 'Players', players_path, class: "#{"current" if current_page?(players_path)}" %>
|
|
<%= link_to 'Randomize', {controller: 'pages', action: 'randomize'}, class: "#{"current" if current_page?(controller: 'pages', action: 'randomize')}" %>
|
|
</nav>
|
|
<%= yield %>
|
|
</body>
|
|
</html>
|