ok
Direktori : /home2/selectio/public_html/bharath/application/views/admin/location/ |
Current File : /home2/selectio/public_html/bharath/application/views/admin/location/add_country.php |
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?> <div class="row"> <div class="col-lg-6 col-md-12"> <div class="box box-primary"> <div class="box-header with-border"> <div class="left"> <h3 class="box-title"><?php echo trans("add_country"); ?></h3> </div> <div class="right"> <a href="<?php echo admin_url(); ?>countries" class="btn btn-success btn-add-new"> <i class="fa fa-list-ul"></i> <?php echo trans('countries'); ?> </a> </div> </div> <!-- form start --> <?php echo form_open('admin_controller/add_country_post'); ?> <div class="box-body"> <!-- include message block --> <?php $this->load->view('admin/includes/_messages'); ?> <div class="form-group"> <label><?php echo trans("name"); ?></label> <input type="text" class="form-control" name="name" placeholder="<?php echo trans("name"); ?>" maxlength="200" required> </div> <div class="form-group"> <label><?php echo trans("continent"); ?></label> <select name="continent_code" class="form-control"> <?php $continents = get_continents(); if (!empty($continents)): foreach ($continents as $key => $value):?> <option value="<?= $key; ?>"><?= $value; ?></option> <?php endforeach; endif; ?> </select> </div> <div class="form-group"> <div class="row"> <div class="col-sm-4 col-xs-12"> <label><?php echo trans('status'); ?></label> </div> <div class="col-sm-4 col-xs-12 col-option"> <input type="radio" name="status" value="1" id="status_1" class="square-purple" checked> <label for="status_1" class="option-label"><?php echo trans('active'); ?></label> </div> <div class="col-sm-4 col-xs-12 col-option"> <input type="radio" name="status" value="0" id="status_2" class="square-purple"> <label for="status_2" class="option-label"><?php echo trans('inactive'); ?></label> </div> </div> </div> </div> <!-- /.box-body --> <div class="box-footer"> <button type="submit" class="btn btn-primary pull-right"><?php echo trans('add_country'); ?></button> </div> <!-- /.box-footer --> <?php echo form_close(); ?><!-- form end --> </div> <!-- /.box --> </div> </div>