Fixed the action on the quiz template

This commit is contained in:
user86 2020-10-12 14:07:38 +05:30
parent f9dd92a7c3
commit 4e6a6582c3

View File

@ -36,14 +36,15 @@
</nav> </nav>
<main role="main"> <main role="main">
<div class="hero"> <div class="hero">
<p class="is-size-3 has-text-black has-text-weight-bold has-text-centered">Upload any Document to get an instant Quiz</p> <p class="is-size-3 has-text-black has-text-weight-bold has-text-centered">Upload any Document to get an instant
Quiz</p>
<p class="is-size-4 has-text-weight-bold has-text-centered">You Know 📖, You Grow 🚀</p> <p class="is-size-4 has-text-weight-bold has-text-centered">You Know 📖, You Grow 🚀</p>
<p class="is-size-5 has-text-black has-text-weight-medium has-text-centered"> Practice More • Learn More </p> <p class="is-size-5 has-text-black has-text-weight-medium has-text-centered"> Practice More • Learn More </p>
</div> </div>
<div class="card has-text-centered"> <div class="card has-text-centered">
<img src="https://cdn4.iconfinder.com/data/icons/files-and-folders-thinline-icons-set/144/File_PDF-512.png" <img src="https://cdn4.iconfinder.com/data/icons/files-and-folders-thinline-icons-set/144/File_PDF-512.png"
alt="upload"/> alt="upload" />
<form action="http://localhost:5000/quiz" method="POST" enctype="multipart/form-data"> <form action="/quiz" method="POST" enctype="multipart/form-data">
<div id="file-js-example" class="file has-name is-fullwidth"> <div id="file-js-example" class="file has-name is-fullwidth">
<label class="file-label"> <label class="file-label">
<input class="file-input" type="file" name="file" accept=".txt, application/pdf" /> <input class="file-input" type="file" name="file" accept=".txt, application/pdf" />