123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?= $this->extend('layout') ?>
- <?= $this->section('content') ?>
- <div class ="flex2">
- <div class ="content">
- <div class="d-flex justify-content-center">
- <?= form_open('doEditBlog'); ?>
- <?= csrf_field() ?>
- <div class="form-group">
- <label for="title">Blog Title</label>
- <input type="input" name="title" id ="title" class="form-control" value="<?php echo htmlspecialchars($blog['title']); ?>"/><br />
- </div>
-
-
- <div class="form-group">
- <label for="title">Id </label>
- <input type="input" name="Id" id ="title" class="form-control" value="<?php echo $blog['Id']; ?>"/><br />
- </div>
-
-
-
- <div class="form-group">
- <label for="theArticle">Blog Article </label>
- <textarea class="form-control" id ="thArticle" rows="7" cols ="45" name ="article" required ="true" ><?php echo htmlspecialchars($blog['article']); ?></textarea>
- </div>
-
-
-
- <div class="form-group">
- <input type="submit" class ="btn-success" value="submit" />
- </div>
-
-
- <div class="form-group">
- allowed formating tags are : <p> </p> <br>
- <h8> </h8> <h8>h8</h8> <br>
- <h9> </h9> <h9>h9</h9> <br>
- <h10> </h10><h10>h10</h10> <br>
- <h11> </h11><h11>h11</h11> <br>
- <h12> </h12><h12>h12</h12> <br>
- <h1> </h1> <br>
- <b> </b> <br>
-
-
-
- </div>
-
- <?php echo form_close();?>
- </div>
-
-
- </div>
-
- </div>
- <?= $this->endSection() ?>
|