-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added evolve and release over interface+update
- Loading branch information
station
committed
Jul 25, 2016
1 parent
0b7eb46
commit 0b31fbf
Showing
8 changed files
with
134 additions
and
11 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% extends "base.html" %} | ||
|
||
|
||
{% block title %}Evolving Pokemon{% endblock %} | ||
|
||
{% block content %} | ||
<h1 class="page-header">Evolving</h1> | ||
<p> | ||
Do you really want to Evolve {{ poke.poke_data.name }} to {{ evolved.name }}? | ||
</p> | ||
<form action="" method="POST"> | ||
{% csrf_token %} | ||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" name="sure"> Yes I am sure! | ||
</label> | ||
</div> | ||
<button type="submit" class="btn btn-primary">Evolve</button> | ||
<button class="btn btn-danger">Cancel</button> | ||
</form> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% extends "base.html" %} | ||
|
||
|
||
{% block title %}Release Pokemon{% endblock %} | ||
|
||
{% block content %} | ||
<h1 class="page-header">Release Pokemon</h1> | ||
<p> | ||
Do you really want to Release {{ poke.poke_data.name }}? | ||
</p> | ||
<form action="" method="POST"> | ||
{% csrf_token %} | ||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" name="sure"> Yes I am sure! | ||
</label> | ||
</div> | ||
<button type="submit" class="btn btn-primary">Release</button> | ||
<button class="btn btn-danger">Cancel</button> | ||
</form> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.