Advertisement
Guest User

add-author

a guest
May 13th, 2012
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.05 KB | None | 0 0
  1. <div class="row">
  2.     <div class="column grid-16">
  3.         <h4 class="f-h4">Add Author</h4>
  4.         <?php if($this->session->flashdata('error_message')){?>
  5.             <div class="error">
  6.                 <?php echo $this->session->flashdata('error_message');?>
  7.             </div>
  8.         <?php } ?>
  9.         <?php echo form_open('blog/save_author');?>
  10.             <fieldset>
  11.                 <legend>Add Author</legend>
  12.                 <label for="name">Name</label>
  13.                 <?php
  14.                     $data = array('name' => 'name', 'id' => 'name', 'size' => '30', 'class'=>'field required');
  15.                     echo form_input($data);
  16.                 ?>
  17.                 <label for="nickname">Nickname</label>
  18.                 <?php
  19.                     $data = array('name' => 'nickname', 'id' => 'nickname', 'size' => '30', 'class'=>'field required');
  20.                     echo form_input($data);
  21.                 ?>
  22.                 <label for="email">Email</label>
  23.                 <?php
  24.                     $data = array('name' => 'email', 'id' => 'email', 'size' => '30', 'class'=>'field required');
  25.                     echo form_input($data);
  26.                 ?>
  27.                 <p style="margin-left: 10px;">
  28.                 <?php echo form_submit('Submit', 'Submit');?>
  29.                 </p>
  30.             </fieldset>
  31.         <?php echo form_close();?>
  32.     </div>
  33. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement