{{ get_hidden_inputs(db, table) }}
{% trans 'Operations' %}
{% trans 'Delete data or table' %}
{{ link_or_button( url('/sql'), url_params|merge({ 'sql_query': 'DROP VIEW ' ~ backquote(table), 'goto': url('/table/structure'), 'reload': true, 'purge': true, 'message_to_show': 'View %s has been dropped.'|trans|format(table)|e, 'table': table }), 'Delete the view (DROP)'|trans, { 'id': 'drop_view_anchor', 'class': 'text-danger ajax' } ) }} {{ show_mysql_docu('DROP VIEW') }}