Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move "add competition result" control above section

  • Loading branch information...
commit 801e77d8a5e506aa915339fb0c0ca3f7e7d5275c 1 parent e4be728
Josh Sled authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 app/templates/user/brew/index.html
7 app/templates/user/brew/index.html
View
@@ -307,6 +307,9 @@ <h1 py:if="not brew.recipe">un-named brew</h1>
}
</style>
+ <div class="grid_16">
+ <a py:if="std.auth_user_is_user(request, user)" href="/user/${user.username}/brew/${brew.id}/competition-results/new">add competition results</a>
+ </div>
<py:for each="result in brew.bjcpcompetitionresults_set.all()">
<div class="competition-result grid_16">
<label class="stylin grid_12">
@@ -421,9 +424,7 @@ <h1 py:if="not brew.recipe">un-named brew</h1>
</div>
</py:for>
- <div class="clear"></div>
- <a py:if="std.auth_user_is_user(request, user)" href="/user/${user.username}/brew/${brew.id}/competition-results/new">add competition results</a>
- </div>
+ </div> <!-- .container_16 -->
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.