<form action="<?php echo url('/pireps/viewpireps');?>" method="post" class="form-horizontal">
<div class="form-group">
        <label class="col-md-3 control-label" for="comment">New Comment</label>
        <div class="col-md-9">
            <textarea name="comment" class="form-control" style="width: 100%" placeholder="Add new comment to this PIREP"></textarea>
        </div>
    </div>
    <div class="form-group form-actions">
        <div class="col-md-8 col-md-offset-4">
    <input type="hidden" name="action" value="addcomment" />
    <input type="hidden" name="pirepid" value="<?php echo $pirep->pirepid?>" />
    <input type="submit" class="btn btn-sm btn-primary" name="submit" value="Add Comment" />
  </div>
</div>
</form>
