<!-- Content Wrapper. Contains page content -->

<div class="content-wrapper">

    <!-- Content Header (Page header) -->

    <section class="content-header">

        <h1>

            <?php

            echo isset($title) ? $title : NULL;

            ?>

        </h1>

    </section>

    <!-- Main content -->

    <section class="content">

        <div class="row">

            <form method="post" enctype="multipart/form-data">

                <div class="col-lg-12">

                    <div class="box box-primary">

                        <div class="box-header with-border">

                            <h3 class="box-title">Edit gallery</h3>

                        </div>

                        <!-- /.box-header -->

                        <!-- form start -->


                        <?php

                        if (isset($message)) {

                            echo $message;

                        }

                        ?>

                        <div class="box-body">


                            <div class="form-group">

                                <label for="exampleInputEmail1">Url</label>

                                <input type="text" name="url" value="<?php echo $gallery['link']; ?>" id=""
                                       class="form-control" id="exampleInputEmail1" placeholder="Enter Url">

                                <p class="help-block">Enter Url
                                <p>

                            </div>


                            <div class="form-group">

                                <label for="availability" class="set-block">Status</label>

                                <div class="radio radio-info  radio-inline">

                                    <input type="radio" id="inlineRadio1" value="1"
                                           name="status" <?php if ($gallery['status'] == 1) echo 'checked'; ?>>

                                    <label for="inlineRadio1"> Active </label>

                                </div>

                                <div class="radio radio-info  radio-inline">

                                    <input type="radio" id="inlineRadio2" value="2"
                                           name="status" <?php if ($gallery['status'] == 2) echo 'checked'; ?>>

                                    <label for="inlineRadio2"> Not Active </label>

                                </div>

                            </div>

                        </div>

                        <!-- /.box-body -->

                        <div class="box-footer">

                            <button type="submit" name="edit" class="btn btn-primary">Edit</button>

                        </div>

                    </div>

                    <!-- /.box -->

                </div>


            </form>

        </div>

    </section><!-- /.content -->

</div><!-- /.content-wrapper -->





