<div class="content-header">
    <div class="container-fluid">
        <div class="row column_title">
            <div class="col-md-12">
                <div class="page_title">
                    <h2><?php echo (isset($podcast)) ? 'Edit Sports' : 'Add Sports' ?></h2>
                </div>
            </div>
        </div>

    </div><!-- /.container-fluid -->
</div>
<!-- Main content -->
<section class="content">
    <div class="container-fluid">
        <form method="post" enctype="multipart/form-data" id="podcast_add" class="card" action="<?php echo (isset($podcast)) ? base_url('dashboard/updatepsports/' . $id) : base_url('dashboard/insertsports')  ?>">
            <div class="card-body">
                <div class="row">


                      <div class="col-sm-6 col-md-6">
                            <label class="form-label">Name Of Sports<span class="form-required">*</span></label>
                            <div class="form-group">
                                <input type="text" name="title" id="title" class="form-control" placeholder="Title" value="<?php echo (isset($podcast)) ? $podcast['title'] : '' ?>" required="">
                            </div>
                        </div>

                    <div class="col-sm-6 col-md-6">
                        <div class="form-group">
      <input type="checkbox" <?php if($podcast['teams']=="true"){echo 'checked';} ?> name="teams" value="true">Teams
                            <input type="checkbox" <?php if($podcast['player']=="true"){echo 'checked';} ?>  name="player" value="true">Player
                             
                        </div>
                    </div>
                   

                </div>


                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary"> <?php echo (isset($podcast)) ? 'Update Sports' : 'Add Sports' ?></button>
                </div>
            </div>
        </form>
    </div>
</section>
<!-- /.content -->