
<article>
<?php echo form_open("/todo/edit/{$todo->id}");?>
<form>
<label for="email">Todo
<input type="text"  name="todo" value="<?=set_value('todo',$todo->text)?>" required>
</label>

  <!-- Button -->
  <button type="submit">Submit</button>

</form>
</article>
