Adding slugs, refactoring
This commit is contained in:
1 parent
64451ddf8b
commit
8f17ddfb05
10 files changed
+151
-58
No files matched your search
@@ -1,5 +1,15 @@
|
||||
<div style='float:left; max-width:20%'>
|
||||
<ul>
|
||||
{% for char in all_characters %}
|
||||
<li><a href="/sheet/{{char['slug']}}/{{char['name']}}">{{ char['name'] }}</a></li>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div>
|
||||
<h1>{{ character.name }}</h1>
|
||||
{{ form.display(value=character) }}
|
||||
{{ flash }}
|
||||
|
||||
<pre>
|
||||
{{ character }}
|
||||
</pre>
|
||||
</div>
|
||||
Reference in new issue
Block a user