Adjusting Admin Templates for slug urls

This commit is contained in:
Andreas Mieke 2016-02-28 14:50:46 +01:00
parent 9935f6df3a
commit e281edc878
4 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
<div class="row">
<div class="large-12 columns">
<h1>{{ .title }} #{{ .AT.ID }}</h1>
<form method="post">
<form action="/admin/sprecher/{{ .AT.ID }}" method="post">
<label>
ID <input type="text" name="id" value="{{ .AT.ID }}">
</label>

View file

@ -2,7 +2,7 @@
<div class="row">
<div class="large-12 columns">
<h1>{{ .title }} #{{ .EP.ID }}</h1>
<form method="post">
<form action="/admin/episode/{{ .EP.ID }}" method="post">
<label>
ID <input type="text" name="id" value="{{ .EP.ID }}">
</label>

View file

@ -2,7 +2,7 @@
<div class="row">
<div class="large-12 columns">
<h1>{{ .title }} #{{ .LP.ID }}</h1>
<form method="post">
<form action="/admin/lets-play/{{ .LP.ID }}" method="post">
<label>
ID <input type="text" name="id" value="{{ .LP.ID }}">
</label>

View file

@ -2,7 +2,7 @@
<div class="row">
<div class="large-12 columns">
<h1>{{ .title }} #{{ .LT.ID }}</h1>
<form method="post">
<form action="/admin/lets-test/{{ .LT.ID }}" method="post">
<label>
ID <input type="text" name="id" value="{{ .LT.ID }}">
</label>