<div class="row">
    <div class="col-xs-12 col-md-12">
        <div class="box box-primary">
            <div class="box-header">
                <h3 class="box-title"><?= $button;?> Menu type</h3>
                <div class="box-tools pull-right">
                    <button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
                    <i class="fa fa-minus"></i></button>
                    <button type="button" class="btn btn-box-tool" onclick="location.reload()" title="Collapse">
                    <i class="fa fa-refresh"></i></button>
                </div>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
            <form action="<?php echo $action; ?>" method="post">
        	    <div class="form-group">
                    <label for="varchar">Type <?php echo form_error('type') ?></label>
                    <input type="text" class="form-control" name="type" id="type" placeholder="Type" value="<?php echo $type; ?>" />
                </div>
        	    <input type="hidden" name="id_menu_type" value="<?php echo $id_menu_type; ?>" />
        	    <button type="submit" class="<?= $this->config->item('botton')?>"><?php echo $button ?></button>
        	    <a href="<?php echo site_url('menu_type') ?>" class="btn btn-default btn-flat">Batal</a>
    	    </form>
            </div>
        </div>
    </div>
</div>