Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transfer the HTML content in InsertEdti.php to the value_column_for_o…
…ther_datatype.twig file Signed-off-by: Pedro Henrique F. Pimentel <pedrohfpimentel@gmail.com>
- Loading branch information
1 parent
b996e22
commit e2991a3
Showing
3 changed files
with
51 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Host = not found: 2(SERVFAIL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
templates/table/insert/value_column_for_other_datatype.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{{ backup_field|raw }} | ||
{% if is_char %} | ||
|
||
{{ text_area|raw -}} | ||
{% else %} | ||
{{ html_input|raw }} | ||
{% if default_generated %} | ||
<input type="hidden" name="virtual{{ columnNameAppendix }}" value="1"> | ||
{% endif %} | ||
{% if column.Extra == 'auto_increment' %} | ||
<input type="hidden" name="auto_increment{{ columnNameAppendix }}" value="1"> | ||
{% endif %} | ||
{% if column.pma_type|slice(0, 9) == 'timestamp' %} | ||
<input type="hidden" name="fields_type-{{ columnNameAppendix }}" value="timestamp"> | ||
{% endif %} | ||
{% if column.pma_type|slice(0, 4) == 'date' %} | ||
{% if column.pma_type|slice(0, 8) == 'datetime' %} | ||
<input type="hidden" name="auto_increment{{ columnNameAppendix }}" value="datetime"> | ||
{% else %} | ||
<input type="hidden" name="auto_increment{{ columnNameAppendix }}" value="date"> | ||
{% endif %} | ||
{% endif %} | ||
{% if column.True_Type == 'bit' %} | ||
<input type="hidden" name="fields_type{{ columnNameAppendix }}" value="bit"> | ||
{% endif %} | ||
{{- html|raw -}} | ||
{% endif %} |