PHP Classes

File: addModal.php

Recommend this page to a friend!
  Classes of Ogbemudia Osayawe   PHP TDD Tutorial Bug Report Application   addModal.php   Download  
File: addModal.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP TDD Tutorial Bug Report Application
Bug report application to show the TDD approach
Author: By
Last change:
Date: 2 years ago
Size: 2,006 bytes
 

Contents

Class file image Download
<!-- https://www.tutorialrepublic.com/snippets/preview.php?topic=bootstrap&file=crud-data-table-for-database-with-modal-form -->
<!-- Add Report Modal HTML -->
<div id="addBugReportModal" class="modal fade">
    <div class="modal-dialog">
        <div class="modal-content">
            <form method="post">
                <div class="modal-header">
                    <h4 class="modal-title">Submit Bug Report</h4>
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                </div>
                <div class="modal-body">
                    <div class="form-group">
                        <label>Report Type</label>
                        <select name="reportType" class="form-control" required>
                            <option value="video player">Video Player</option>
                            <option value="audio">Audio</option>
                            <option value="others">others</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label>Email</label>
                        <input type="email" name="email" class="form-control" required>
                    </div>
                    <div class="form-group">
                        <label>Message</label>
                        <textarea class="form-control" name="message" required></textarea>
                    </div>
                    <div class="form-group">
                        <label for="link">Link</label>
                        <input type="url" class="form-control" name="link" id="link">
                    </div>
                </div>
                <div class="modal-footer">
                    <input type="button" class="btn btn-default" data-dismiss="modal" value="Cancel">
                    <input type="submit" class="btn btn-success" name="add" value="Add">
                </div>
            </form>
        </div>
    </div>
</div>