<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-user"></i>Vote Device
                        </div>
                    </div>
                    <div class="portlet-body">

                        <!--Begin Semen-->

                        <div class="row">

                            <div class="portlet-title tbox">
                                <div class="caption font-green-haze col-md-6">
                                    <span class="caption-subject bold uppercase">Edit</span>
                                </div>

                            </div>

                            <div class="clearfix"></div>
                            <form action="{$hosturl}/controllers/{$controllname}.php?ac=update" class="clinick" method="post">

                                <div class="form-body">
                                    <div class="form-group ">
                                        <label class="col-md-2 txtl">Name</label>
                                        <div class="col-md-5">
                                            <input class="form-control" name="name" required type="text" value="{$vote_device->name}">
                                        </div>
                                    </div>
                                    <div class="clearfix"></div>
                                    <div class="form-group ">
                                        <label class="col-md-2 txtl">Local IP</label>
                                        <div class="col-md-5">
                                            <input class="form-control" name="local_ip" required type="text" value="{$vote_device->local_ip}">
                                        </div>
                                    </div>

                                </div>
                                <input id="id" name="id" type="hidden" value="{$vote_device->id}"/>

                                <div class="form-actions">
                                    <div class="row">
                                        <div class="col-md-offset-2 col-md-10">
                                            <a class="btn default" href="{$hosturl}/controllers/{$controllname}.php?ac=show">Cancel</a>
                                            <button class="btn blue" type="submit">Submit</button>
                                        </div>
                                    </div>
                                </div>
                            </form>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


