</div> <div class="form-group"> <label for="content">Post Content</label> <textarea class="form-control" name="content" id="content" name="content" cols="30" rows="10"></textarea> </div> <button type="submit" class="btn btn-default">Create Post</button> </form> </div> <?php } else { ?> <div class="row"> <h1>Authenticate to create a post</h1> <hr> <a href="<?php echo $medium->getAuthenticationUrl(); ?> " class="btn btn-primary btn-large">Authenticate with Medium</a> </div> <?php } ?> </div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </body> </html>