Formular:GutachtenAuspragungForm: Unterschied zwischen den Versionen

Aus smw-dev03
Wechseln zu:Navigation, Suche
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.


= 📋 Ausprägungen für Gutachten hinzufügen / bearbeiten ==
== 📋 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 action="{{fullurl:Spezial:Formularbearbeitung}}" method="get">
<!-- Form to edit existing Gutachten -->
    <input type="hidden" name="form" value="GutachtenAuspragungForm" />
<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/>


     <div style="margin-bottom:15px;">
     <select id="gutachten-select" name="target" required style="width:100%;padding:8px;border-radius:4px;border:1px solid #ccc;margin-top:5px;">
      <label for="gutachten-select" style="font-size:1.2em;font-weight:bold;color:#34495e;">Existierendes Gutachten wählen:</label><br/>
      <option value="" disabled selected>– Bitte wählen –</option>
      <select id="gutachten-select" name="target" style="width:100%;padding:8px;border-radius:4px;border:1px solid #ccc;margin-top:5px;">
      {{#ask:[[Category:Gutachten]]
        <option value="">– Bitte auswählen –</option>
        |?Vorname
        {{#ask: [[Category:Gutachten]]
        |?Nachname
          | ?Vorname
        |?Matrikelnummer
          | ?Nachname
        |format=template
          | ?Matrikelnummer
        |template=DropdownGutachtenEntry
          | format=template
        |mainlabel=-
          | template=DropdownGutachtenEntry
        |sort=Nachname,Vorname
          | mainlabel=-
        |order=asc
          | sort=Nachname,Vorname
      }}
          | order=asc
    </select>
        }}
  </div>
      </select>
    </div>


    <input type="submit" value="Gutachten bearbeiten" class="btn btn-primary" style="margin-right:10px;"/>
  <input type="submit" value="Gutachten bearbeiten" class="btn btn-primary" style="margin-right:10px;"/>
   
    {{#formlink:form=GutachtenAuspragungForm|link text=Neues Gutachten erstellen|link type=button|query string=}}


   </form>
   <!-- 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;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;">Vorname des Studierenden:</h3>
   <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;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;">Nachname des Studierenden:</h3>
   <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;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;">Matrikelnummer des Studierenden:</h3>
   <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>