Michael Francis 14 жил өмнө
parent
commit
8fc27734bb

+ 8 - 2
views/Users/feed.html.php

@@ -1,6 +1,6 @@
 <!-- page container -->
 <!-- page title -->
-<h2 class="ribbon blue full" >About Us <span>A bit about our company</span> </h2>
+<h2 class="ribbon blue full" ><?= $user->username ?>'s Feed <span>Here's what's poppin'</span> </h2>
 <div class="triangle-ribbon blue" ></div>
 <br class="cl" >
 	<!-- sidebar -->
@@ -11,7 +11,13 @@
 		</ul>
 	</aside>
 	<!-- Page Content -->
-	<div id="page-content" class="two-col container_12" >
+
+<div id="page-content" class="two-col container_12" >
+<?= $this->form->create(null, array('action' => 'post')); ?>
+    <?= $this->form->field('body', array('type' => 'textarea')); ?>
+   <?= $this->form->submit('Post!', array('class' => 'button', 'style' => 'float:right')); ?>
+<?= $this->form->end(); ?>
+<br class ="cl">
 		<?php foreach($feed as $post) { ?>
 		<div class="grid_4"><img class="inlinepic" src="/img/about.jpg" alt="" /></div>
 		<div class="grid_8">