dec6446d7d
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
46 lines
1.8 KiB
HTML
46 lines
1.8 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ 'edit_attendee'|t }} - NetEvents{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="form-container">
|
|
<h1>{{ 'edit_attendee'|t }}</h1>
|
|
|
|
<form method="POST" action="{{ url_for('edit_attendee', attendee_id=attendee.id) }}" class="attendee-form">
|
|
<div class="form-group">
|
|
<label for="first_name">{{ 'first_name'|t }}</label>
|
|
<input type="text" id="first_name" name="first_name" value="{{ attendee.first_name }}" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="last_name">{{ 'last_name'|t }}</label>
|
|
<input type="text" id="last_name" name="last_name" value="{{ attendee.last_name }}" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email">{{ 'email'|t }}</label>
|
|
<input type="email" id="email" name="email" value="{{ attendee.email }}" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="organisation">{{ 'organisation'|t }}</label>
|
|
<input type="text" id="organisation" name="organisation" value="{{ attendee.organisation or '' }}">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="role">{{ 'role_profession'|t }}</label>
|
|
<input type="text" id="role" name="role" value="{{ attendee.role or '' }}">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="introduction">{{ 'short_introduction'|t }}</label>
|
|
<textarea id="introduction" name="introduction" rows="4">{{ attendee.introduction or '' }}</textarea>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-primary">{{ 'save_changes'|t }}</button>
|
|
<a href="{{ url_for('organizer_dashboard') }}" class="btn btn-outline">{{ 'cancel'|t }}</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %} |