From 7cc2a989928f57e65795f1237e81dba7bf6f54f3 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Tue, 22 Oct 2013 00:38:10 +0200 Subject: [PATCH] Post edit form moved to separate file --- src/Views/post-edit.phtml | 43 ++++++++++++++++++++++++++++++++++++++ src/Views/post-view.phtml | 44 +-------------------------------------- 2 files changed, 44 insertions(+), 43 deletions(-) create mode 100644 src/Views/post-edit.phtml diff --git a/src/Views/post-edit.phtml b/src/Views/post-edit.phtml new file mode 100644 index 00000000..dac63efd --- /dev/null +++ b/src/Views/post-edit.phtml @@ -0,0 +1,43 @@ +
+

edit post

+ context->transport->post->uploader))): ?> +
+ + + + +
+ + + context->transport->post->uploader))): ?> +
+ +
+
+ + + + context->transport->post->uploader))): ?> +
+ +
+
+ + + context->transport->post->uploader))): ?> +
+ +
+
+ + + + +
+ + +
+
diff --git a/src/Views/post-view.phtml b/src/Views/post-view.phtml index 42832a90..f88efb4a 100644 --- a/src/Views/post-view.phtml +++ b/src/Views/post-view.phtml @@ -216,49 +216,7 @@ -
-

edit post

- -
- - - - -
- - - -
- -
-
- - - - -
- -
-
- - - -
- -
-
- - - - -
- - -
-
+ renderFile('post-edit') ?>