Split create snip route to it's own call, too many exceptions
This commit is contained in:
@ -1,10 +1,6 @@
|
||||
{% extends 'snip/base.html.twig' %}
|
||||
|
||||
{% if snip.id %}
|
||||
{% set title %}{{ snip }} - Edit{% endset %}
|
||||
{% else %}
|
||||
{% set title = 'Create Snip' %}
|
||||
{% endif %}
|
||||
{% set title %}{{ snip }} - Edit{% endset %}
|
||||
{% set active = 'edit' %}
|
||||
|
||||
{% block buttons %}
|
||||
|
Reference in New Issue
Block a user