{% if url %}
  <button type="submit" name="_rename" {% formaction %}="{{ url }}{% if url_params %}?{{ url_params.urlencode }}{% endif %}" class="btn btn-yellow">
    <i class="mdi mdi-pencil" aria-hidden="true"></i> {{ label }}
  </button>
{% endif %}
