<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 Instrument' : 'Add Instrument' ?></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('Instrumentalist/updatepodcast/' . $id) : base_url('Instrumentalist/insertpodcast')  ?>">
            <div class="card-body">
                <div class="row">
                    <input type="hidden" name="id" id="c_id" value="<?php echo (isset($podcast)) ? $id : '' ?>">
                    <div class="col-sm-6 col-md-6">
                        <div class="form-group">
                            <label class="form-label">Name<span class="form-required">*</span></label>
                            <input type="text" required="true" class="form-control" value="<?php echo (isset($podcast)) ? $podcast['name'] : '' ?>" id="c_name" name="name" placeholder=" Name">
                        </div>
                    </div>

                    <div class="col-sm-6 col-md-6">
                        <div class="form-group">
                            <label class="form-label">Image</label>
                            <input type="file" class="form-control" name="image">
                        </div>
                    </div>
                </div>
                <input type="hidden" id="c_created_date" name="createdDate" value="<?php echo date('Y-m-d h:i:s'); ?>">

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