1 <form id="ajax_form" action="{{ url('/database/structure/copy-table') }}" method="post"> 2 {{ get_hidden_inputs(url_params) }} 3 4 <fieldset> 5 <strong><label for="db_name_dropdown">{% trans 'Database:' %}</label></strong> 6 <select id="db_name_dropdown" name="target_db"> 7 {% for each_db in options %} 8 <option value="{{ each_db.name }}"{{ each_db.is_selected ? ' selected' }}>{{ each_db.name }}</option> 9 {% endfor %} 10 </select> 11 12 <br><br> 13 14 <strong><label>{% trans 'Options:' %}</label></strong> 15 16 <br> 17 18 <input type="radio" id="what_structure" value="structure" name="what"> 19 <label for="what_structure">{% trans 'Structure only' %}</label> 20 21 <br> 22 23 <input type="radio" id="what_data" value="data" name="what" checked> 24 <label for="what_data">{% trans 'Structure and data' %}</label> 25 26 <br> 27 28 <input type="radio" id="what_dataonly" value="dataonly" name="what"> 29 <label for="what_dataonly">{% trans 'Data only' %}</label> 30 31 <br><br> 32 33 <input type="checkbox" id="checkbox_drop" value="true" name="drop_if_exists"> 34 <label for="checkbox_drop">{% trans 'Add DROP TABLE' %}</label> 35 36 <br> 37 38 <input type="checkbox" id="checkbox_auto_increment_cp" value="1" name="sql_auto_increment"> 39 <label for="checkbox_auto_increment_cp">{% trans 'Add AUTO INCREMENT value' %}</label> 40 41 <br> 42 43 <input type="checkbox" id="checkbox_constraints" value="1" name="sql_auto_increment" checked> 44 <label for="checkbox_constraints">{% trans 'Add constraints' %}</label> 45 46 <br><br> 47 48 <input type="checkbox" name="adjust_privileges" value="1" id="checkbox_adjust_privileges" checked> 49 <label for="checkbox_adjust_privileges"> 50 {% trans 'Adjust privileges' %} 51 {{ show_docu('faq', 'faq6-39') }} 52 </label> 53 </fieldset> 54 </form>