Formular:GutachtenAuspragungForm: Unterschied zwischen den Versionen
Aus smw-dev03
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 2: | Zeile 2: | ||
This form allows users to add or edit Ausprägungen for a Gutachten. | This form allows users to add or edit Ausprägungen for a Gutachten. | ||
= 📋 | == 📋 Gutachten erstellen oder bearbeiten == | ||
{{#info:Der Seitenname wird automatisch erstellt als: '''Vorname_Nachname_Matrikelnummer'''.}} | {{#info:Der Seitenname wird automatisch erstellt als: '''Vorname_Nachname_Matrikelnummer'''.}} | ||
<div style="background-color:#f8f9fa;padding:20px;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,0.1);max-width:800px;margin:0 auto;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;"> | <div style="background-color:#f8f9fa;padding:20px;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,0.1);max-width:800px;margin:0 auto;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;"> | ||
<!-- Form to edit existing Gutachten --> | |||
<form action="{{fullurl:Spezial:Formularbearbeitung}}" method="get"> | |||
<input type="hidden" name="form" value="GutachtenAuspragungForm"/> | |||
<div style="margin-bottom:15px;"> | |||
<label for="gutachten-select" style="font-size:1.2em;font-weight:bold;color:#34495e;"> | |||
Existierendes Gutachten wählen: | |||
</label><br/> | |||
<select id="gutachten-select" name="target" required style="width:100%;padding:8px;border-radius:4px;border:1px solid #ccc;margin-top:5px;"> | |||
<option value="" disabled selected>– Bitte wählen –</option> | |||
{{#ask:[[Category:Gutachten]] | |||
|?Vorname | |||
|?Nachname | |||
|?Matrikelnummer | |||
|format=template | |||
|template=DropdownGutachtenEntry | |||
|mainlabel=- | |||
|sort=Nachname,Vorname | |||
|order=asc | |||
}} | |||
</select> | |||
</div> | |||
<input type="submit" value="Gutachten bearbeiten" class="btn btn-primary" style="margin-right:10px;"/> | |||
< | <!-- Button to create a new Gutachten (without manual input) --> | ||
{{#formlink:form=GutachtenAuspragungForm|link text=Neues Gutachten erstellen|link type=button|query string=}} | |||
</form> | |||
</div> | </div> | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{{info|add title=Vorname_Nachname_Matrikelnummer}}} | {{{info|add title=Vorname_Nachname_Matrikelnummer}}} | ||
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); max-width: 800px; margin: 0 auto; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"> | <div style="background-color: #f8f9fa; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); max-width: 800px; margin: 0 auto; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"> | ||
{{{for template|GutachtenAuspragung}}} | {{{for template|GutachtenAuspragung}}} | ||
<!-- Rest of your existing form content (Vorname, Nachname, Matrikelnummer, Kriterien-Ausprägungen, Referent etc.) --> | |||
<div style="margin-bottom:15px;"> | <div style="margin-bottom:15px;"> | ||
<h3 style="font-size:1.4em;color:#34495e;margin-bottom:10px | <h3 style="font-size:1.4em;color:#34495e;margin-bottom:10px;">Vorname des Studierenden:</h3> | ||
{{{field|Vorname|input type=text|mandatory}}} | {{{field|Vorname|input type=text|mandatory}}} | ||
</div> | </div> | ||
<div style="margin-bottom:15px;"> | <div style="margin-bottom:15px;"> | ||
<h3 style="font-size:1.4em;color:#34495e;margin-bottom:10px | <h3 style="font-size:1.4em;color:#34495e;margin-bottom:10px;">Nachname des Studierenden:</h3> | ||
{{{field|Nachname|input type=text|mandatory}}} | {{{field|Nachname|input type=text|mandatory}}} | ||
</div> | </div> | ||
<div style="margin-bottom:15px;"> | <div style="margin-bottom:15px;"> | ||
<h3 style="font-size:1.4em;color:#34495e;margin-bottom:10px | <h3 style="font-size:1.4em;color:#34495e;margin-bottom:10px;">Matrikelnummer des Studierenden:</h3> | ||
{{{field|Matrikelnummer|input type=text|mandatory}}} | {{{field|Matrikelnummer|input type=text|mandatory}}} | ||
</div> | </div> | ||
Version vom 4. Mai 2025, 18:57 Uhr
This form allows users to add or edit Ausprägungen for a Gutachten.
📋 Gutachten erstellen oder bearbeiten
Der Seitenname wird automatisch erstellt als: Vorname_Nachname_Matrikelnummer.
<form action="https://smw-dev03.users.h-da.cloud/index.php/Spezial:Formularbearbeitung" method="get">
<input type="hidden" name="form" value="GutachtenAuspragungForm"/>
<label for="gutachten-select" style="font-size:1.2em;font-weight:bold;color:#34495e;">
Existierendes Gutachten wählen:
</label>
<select id="gutachten-select" name="target" required style="width:100%;padding:8px;border-radius:4px;border:1px solid #ccc;margin-top:5px;">
<option value="" disabled selected>– Bitte wählen –</option>
Vorlage:DropdownGutachtenEntryVorlage:DropdownGutachtenEntryVorlage:DropdownGutachtenEntryVorlage:DropdownGutachtenEntryVorlage:DropdownGutachtenEntryVorlage:DropdownGutachtenEntryVorlage:DropdownGutachtenEntryVorlage:DropdownGutachtenEntryVorlage:DropdownGutachtenEntry
</select>
<input type="submit" value="Gutachten bearbeiten" class="btn btn-primary" style="margin-right:10px;"/>
</form>