Dynamic nav bar links.
This commit is contained in:
@@ -13,12 +13,11 @@
|
|||||||
<script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
|
<script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header >
|
||||||
<nav class="nav" role="navigation">
|
<nav class="nav" role="navigation">
|
||||||
<a href="/">Etusivu</a>
|
<%= link "Etusivu", to: Routes.page_path(@conn, :index) %>
|
||||||
<a href="calendar.html">Kalenteri</a>
|
<%= link "Esiintyjät", to: Routes.performer_path(@conn, :index) %>
|
||||||
<a href="performers.html">Esiintyjät</a>
|
<%= link "Ilmoittautuminen", to: Routes.performer_path(@conn, :new) %>
|
||||||
<a href="contact.html">Yhteystiedot</a>
|
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main role="main">
|
<main role="main">
|
||||||
|
|||||||
Reference in New Issue
Block a user