aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/templates/database/structure/show_create_row.twig
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/templates/database/structure/show_create_row.twig')
-rw-r--r--srcs/phpmyadmin/templates/database/structure/show_create_row.twig19
1 files changed, 19 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/database/structure/show_create_row.twig b/srcs/phpmyadmin/templates/database/structure/show_create_row.twig
new file mode 100644
index 0000000..db18cdd
--- /dev/null
+++ b/srcs/phpmyadmin/templates/database/structure/show_create_row.twig
@@ -0,0 +1,19 @@
+<fieldset>
+ <legend>{{ title }}</legend>
+ <table class="show_create">
+ <thead>
+ <tr>
+ <th>{{ raw_title }}</th>
+ <th>{{ 'Create %s'|trans|format(raw_title) }}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for object in db_objects %}
+ <tr>
+ <td><strong>{{ object|mime_default_function }}</strong></td>
+ <td>{{ dbi.getTable(db, object).showCreate()|mime_default_function }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+</fieldset>