Skip to content
Snippets Groups Projects
Commit 20d9e901 authored by Muhammad Rifko Favian's avatar Muhammad Rifko Favian
Browse files

feat: change input type

parent 3ebe5cf1
Branches
Tags
No related merge requests found
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
<div class="main-content"> <div class="main-content">
<form method="post" class="event-form" action="../../router.php" enctype="multipart/form-data"> <form method="post" class="event-form" action="../../router.php" enctype="multipart/form-data">
<input type="text" name="eventName" placeholder="Name" required> <input type="text" name="eventName" placeholder="Name" required>
<input type="text" name="eventStock" placeholder="Stock" required> <input type="number" name="eventStock" placeholder="Stock" required>
<input type="text" name="eventPrice" placeholder="Price" required> <input type="number" name="eventPrice" placeholder="Price" required>
<input type="datetime-local" name="eventDate" required> <input type="datetime-local" name="eventDate" required>
<input type="text" name="eventLocation" placeholder="Location" required> <input type="text" name="eventLocation" placeholder="Location" required>
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
<input type="file" id="file-input-create" name="gambar" accept="image/*" required> <input type="file" id="file-input-create" name="gambar" accept="image/*" required>
</div> </div>
<!-- <input type="text" name="vid" placeholder="Video URL"> -->
<div id="drop-area-create"> <div id="drop-area-create">
<p>Drag and drop an video file here or click to select one.</p> <p>Drag and drop an video file here or click to select one.</p>
<input type="file" id="file-input-create" name="vid" accept="video/*" required> <input type="file" id="file-input-create" name="vid" accept="video/*" required>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<form method="post" class="event-form" action="../../router.php" enctype="multipart/form-data"> <form method="post" class="event-form" action="../../router.php" enctype="multipart/form-data">
<input type="hidden" name="eventId" value="<?php echo $_GET['id']; ?>"> <input type="hidden" name="eventId" value="<?php echo $_GET['id']; ?>">
<input type="text" name="eventName" placeholder="Name" required> <input type="text" name="eventName" placeholder="Name" required>
<input type="text" name="eventPrice" placeholder="Price" required> <input type="number" name="eventPrice" placeholder="Price" required>
<input type="datetime-local" name="eventDate" required> <input type="datetime-local" name="eventDate" required>
<input type="text" name="eventLocation" placeholder="Location" required> <input type="text" name="eventLocation" placeholder="Location" required>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment