diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin_faq.html | 56 | ||||
-rw-r--r-- | templates/admin_faq_edit_form.html | 37 |
2 files changed, 5 insertions, 88 deletions
diff --git a/templates/admin_faq.html b/templates/admin_faq.html index 5dacf522..0eee8d20 100644 --- a/templates/admin_faq.html +++ b/templates/admin_faq.html @@ -1,56 +1,6 @@ -<table> - <thead> - <tr> - <th> - Deutsch - </th> - <th> - English - </th> - <th> - - </th> - </tr> - </thead> - <tbody> - %faqs% - </tbody> -</table> +%faqs% <hr/>Create new FAQ: <form action="%link%&action=create" method="post"> - <table> - <tr> - <td> - Frage - </td> - <td> - <textarea name="frage"></textarea> - </td> - </tr> - <tr> - <td> - Antwort - </td> - <td> - <textarea name="antwort"></textarea> - </td> - </tr> - <tr> - <td> - Question - </td> - <td> - <textarea name="question"></textarea> - </td> - </tr> - <tr> - <td> - Answer - </td> - <td> - <textarea name="answer"></textarea> - </td> - </tr> - </table> +%new_form% <input type="submit" name="submit" value="Create" /> -</form>
\ No newline at end of file +</form> diff --git a/templates/admin_faq_edit_form.html b/templates/admin_faq_edit_form.html index 1ef791aa..2159a82d 100644 --- a/templates/admin_faq_edit_form.html +++ b/templates/admin_faq_edit_form.html @@ -1,41 +1,8 @@ Edit FAQ: <form action="%link%&action=save" method="post"> - <table> - <tr> - <td> - Frage - </td> - <td> - <textarea name="frage">%frage%</textarea> - </td> - </tr> - <tr> - <td> - Antwort - </td> - <td> - <textarea name="antwort">%antwort%</textarea> - </td> - </tr> - <tr> - <td> - Question - </td> - <td> - <textarea name="question">%question%</textarea> - </td> - </tr> - <tr> - <td> - Answer - </td> - <td> - <textarea name="answer">%answer%</textarea> - </td> - </tr> - </table> +%form% <input type="hidden" name="id" value="%id%" /><input type="submit" name="submit" value="Save" /> </form><hr/> <form action="%link%&action=delete" method="post"> Delete FAQ: <input type="hidden" name="id" value="%id%" /><input type="submit" name="submit" value="Delete" /> -</form>
\ No newline at end of file +</form> |