mirror of
https://github.com/ClaytonWWilson/FightHub.git
synced 2025-12-15 23:18:47 +00:00
Fixed Merge
This commit is contained in:
commit
609af1c391
@ -1,9 +1,6 @@
|
||||
|
||||
// Validates the data inputs on the upload form
|
||||
function validateUpload() {
|
||||
// console.log("Validated!");
|
||||
// document.getElementById("upload-form").submit();
|
||||
|
||||
var url_bar = document.getElementById('url');
|
||||
var video_title = document.getElementById('title');
|
||||
var username = document.getElementById('username');
|
||||
@ -103,4 +100,3 @@ function validateUpload() {
|
||||
} else {
|
||||
alert('Please fill out the rest of the upload form.');
|
||||
}
|
||||
}
|
||||
@ -20,6 +20,7 @@
|
||||
<h3>Youtube URL *</h3>
|
||||
<input type="text" name="url" id="url">
|
||||
|
||||
<<<<<<< HEAD
|
||||
<h3>Video Title *</h3>
|
||||
<input type="text" name="title" id="title">
|
||||
|
||||
@ -55,7 +56,6 @@
|
||||
<h3>Stage Name *</h3>
|
||||
<input type="text" name="stage" id="stage">
|
||||
|
||||
|
||||
<input type="button" name="submit_button" value="Submit" onclick="validateUpload()">
|
||||
</form>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user