Skip to content

Commit

Permalink
Spacing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwasham committed Jul 3, 2016
1 parent 8edeefb commit 8367686
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<div class="well">
<h2>Edit Card #{{ card.id }}</h2>
<form action="{{ url_for('edit_card') }}" method=post>

<div class="form-group">
<label for="general" class="btn btn-default btn-lg">General &nbsp;
<input type="radio" name="type" value="1"
Expand All @@ -12,10 +13,12 @@ <h2>Edit Card #{{ card.id }}</h2>
<input type="radio" name="type" value="2" id="code" {{ "checked" if (card.type == 2) else "" }} />
</label>
</div>

<div class="form-group">
<label for="front">Front of Card</label>
<input type="text" name="front" class="form-control" value="{{ card.front|e }}">
</div>

<div class="form-group">
<label for="back">Back of Card</label>
<textarea name="back"
Expand All @@ -24,13 +27,16 @@ <h2>Edit Card #{{ card.id }}</h2>
placeholder="back of card"
rows="12">{{ card.back|e }}</textarea>
</div>

<div class="checkbox">
<label>
<input type="checkbox" name="known"
value="1" {{ "checked" if (card.known == 1) else "" }} /> Known
</label>
</div>

<hr />

<div class="form-group">
<input type="hidden" name="card_id" value="{{ card.id|e }}" />
<button type="submit" class="saveButton btn btn-lg btn-primary">Save</button>
Expand Down

0 comments on commit 8367686

Please sign in to comment.