Formular:GutachtenAuspragungForm: Unterschied zwischen den Versionen

Aus smw-dev03
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 7: Zeile 7:
<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 -->
<!-- Autocomplete input to edit existing Gutachten -->
<form action="{{fullurl:Spezial:Formularbearbeitung}}" method="get">
<div style="margin-bottom:15px;">
  <input type="hidden" name="form" value="GutachtenAuspragungForm"/>
  {{#forminput:form=GutachtenAuspragungForm
    | button text=Gutachten bearbeiten
    | autocomplete on category=Gutachten
    | placeholder=Existierendes Gutachten auswählen
  }}
</div>


  <div style="margin-bottom:15px;">
<!-- Button to directly create new Gutachten -->
    <label for="gutachten-select" style="font-size:1.2em;font-weight:bold;color:#34495e;">
<div>
      Existierendes Gutachten wählen:
   {{#formlink:form=GutachtenAuspragungForm
    </label><br/>
    | link text=Neues Gutachten erstellen
 
    | link type=button
    <select id="gutachten-select" name="target" required style="width:100%;padding:8px;border-radius:4px;border:1px solid #ccc;margin-top:5px;">
    | query string=
      <option value="" disabled selected>– Bitte wählen –</option>
  }}
      {{#ask:[[Category:Gutachten]]
</div>
        |?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=5009}}


</form>
</div>
</div>
</noinclude>
</noinclude>


Zeile 44: Zeile 31:
{{{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.) -->
<!-- Existing fields for Vorname, Nachname, Matrikelnummer -->
 
<div style="margin-bottom:15px;">
<div style="margin-bottom:15px;">
   <h3 style="font-size:1.4em;color:#34495e;margin-bottom:10px;">Vorname des Studierenden:</h3>
   <h3>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;">Nachname des Studierenden:</h3>
   <h3>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;">Matrikelnummer des Studierenden:</h3>
   <h3>Matrikelnummer des Studierenden:</h3>
   {{{field|Matrikelnummer|input type=text|mandatory}}}
   {{{field|Matrikelnummer|input type=text|mandatory}}}
</div>
</div>

Version vom 4. Mai 2025, 19:13 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.