@ -35,7 +35,8 @@
{% if not registration_code.is_expired() %}
<input type="submit" name="expire" value="Expire">
{% 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 %}
</form>
</td>