Codeigniter_Blog_App/application/views/categories/create.php

14 lines
341 B
PHP

<h2><?= $title; ?></h2>
<?= validation_errors(); ?>
<?= form_open_multipart('categories/create'); ?>
<div class = "form-group">
<label>Name</label>
<input type = "text" class = "form-control" name="name" placeholder="Enter name">
</div>
<button type="submit" class = "btn btn-default">Submit</button>
</form>