Skip to content

Commit 2ebf5f2

Browse files
updated dynamic submit form.
1 parent dc474e8 commit 2ebf5f2

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

app/templates/service_requests.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,19 @@ <h2 class="text-xl font-bold text-gray-900 dark:text-white">My Requests</h2>
276276
</tbody>
277277
</table>
278278
</div>
279+
<!-- Dynamic Request Form -->
280+
<div id="request_form_container" class="hidden p-6">
281+
<div class="bg-gray-100 dark:bg-gray-800 p-6 rounded-xl">
282+
<h3 class="text-lg font-bold mb-4">Complete Request</h3>
283+
<div id="dynamic_form_fields"></div>
284+
<button onclick="location.reload()"
285+
class="mt-4 bg-gray-500 text-white px-4 py-2 rounded">
286+
Cancel
287+
</button>
288+
</div>
289+
</div>
279290
</div>
280291
</div>
281-
282292
</div>
283293
</div>
284294
</main>

0 commit comments

Comments
 (0)