<div id="course-names-form-modal" class="modal modal-fixed-footer" style="max-height: 100%" <%= (App.rtl ? 'style="direction:rtl"' : '') %>></div>
    <div class="modal-content">
        <div id="course-names-form-content">
            <div style="padding-bottom: 50px">
                <h4 style="font-size: 1.2rem">{Literal}Course Name{/Literal}</h4>
            </div>
            <form>
                <div class="row">
                    <div class="col s12">
                        <div class="col s12 m1">
                            <div class="input-field">
                                <input id="id" type="text" value="<%= courseNames.number %>" disabled>
                                <label class="active" for="courseNames">{Literal}Number{/Literal}</label>
                            </div>
                        </div>
                        <div class="col s12">
                            <div class="input-field">
                                <input id="courseName" type="text"  value="<%= courseNames.name %>" class="materialize-textarea" maxlength="250"></input>
                                <label class="active" for="courseNames">{Literal}Name{/Literal}</label>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<div class="modal-footer">
    <!-- <a href="#delete-course-name-modal" class="btn-flat modal-trigger waves-effect waves-light red-text right delete-button ">{Literal}Delete{/Literal}</a> -->
    <a href="javascript:void(0)" class="modal-close waves-effect waves-green btn green left save-button">{Literal}Save{/Literal}</a>
    <a href="javascript:void(0)" class="modal-close waves-effect waves-light left btn-flat">{Literal}Cancel{/Literal}</a>
</div>


<div id="delete-course-name-modal" class="modal">
    <div class="modal-content">
        <div style="padding-bottom: 50px;">
            <h6>{Literal}Confirm Deletion{/Literal}</h6>
        </div>
        <p>{Literal}Are you sure that you would like to remove this Course Name{/Literal}?</p>
    </div>
    <div class="modal-footer">        
        <a href="javascript:void(0)" id="delete-course-name-confirm" class="modal-close waves-effect waves-light btn red left" data-course-name-id="<%= courseNames.id%>">{Literal}Delete{/Literal}</a>
        <input type="hidden" id="delete-course-name-id" />
        <a href="javascript:void(0)" class="modal-close waves-effect waves-light btn-flat left">{Literal}Cancel{/Literal}</a>
    </div>
</div>