Fix add index on new table form has duplicate go buttons in the modal
Go to create a new table then add an index on a column you want to create, see the duplicate buttons in the footer Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
933db9fc08
commit
578b18b43f
@ -239,10 +239,13 @@
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
{# The modal already has buttons to execute and preview SQL #}
|
||||
{%- if not create_edit_table -%}
|
||||
<fieldset class="pma-fieldset tblFooters">
|
||||
<button class="btn btn-primary" type="submit">{% trans 'Go' %}</button>
|
||||
<button class="btn btn-secondary" type="submit" id="preview_index_frm">{% trans 'Preview SQL' %}</button>
|
||||
</fieldset>
|
||||
{%- endif -%}
|
||||
</form>
|
||||
{% if is_from_nav %}
|
||||
{{ include('modals/preview_sql_modal.twig') }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user