|
@ -35,7 +35,8 @@ |
|
|
{% if not registration_code.is_expired() %} |
|
|
{% if not registration_code.is_expired() %} |
|
|
<input type="submit" name="expire" value="Expire"> |
|
|
<input type="submit" name="expire" value="Expire"> |
|
|
{% else %} |
|
|
{% else %} |
|
|
<input type="submit" name="delete" value="Delete"> |
|
|
|
|
|
|
|
|
<input type="submit" name="delete" value="Delete" |
|
|
|
|
|
disabled="{{ True if registration_code.usages > 0 else False }}"> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
</form> |
|
|
</form> |
|
|
</td> |
|
|
</td> |
|
|