Add Freelancer registration model.

This commit is contained in:
Jens Luedicke
2025-07-02 23:05:30 +02:00
parent ff6d2da523
commit 8e100f101a
8 changed files with 602 additions and 7 deletions

View File

@@ -3,6 +3,7 @@
{% block content %}
<div class="auth-container">
<h1>Register for TimeTrack</h1>
<p class="text-muted">Join your company team</p>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
@@ -12,6 +13,14 @@
{% endif %}
{% endwith %}
<div class="registration-options mb-4">
<div class="alert alert-info">
<h5>Registration Options:</h5>
<p><strong>Company Employee:</strong> You're on the right page! Enter your company code below.</p>
<p><strong>Freelancer/Independent:</strong> <a href="{{ url_for('register_freelancer') }}" class="btn btn-outline-primary btn-sm">Register as Freelancer</a></p>
</div>
</div>
<form method="POST" action="{{ url_for('register') }}" class="auth-form">
<div class="form-group">
<label for="company_code">Company Code</label>