features, cleanup and bug fixes #26

Merged
ben merged 30 commits from ben/Jobboerse:main into main 2022-06-09 17:36:55 +02:00
Showing only changes of commit 7aad8acd46 - Show all commits

reduce the duplication in the submission page template

Bennet Bleßmann 2022-05-27 19:38:49 +02:00 committed by Bennet Bleßmann
Signed by: ben
GPG key ID: 3BE1A1A3CBC3CF99

View file

@ -18,38 +18,36 @@
<fieldset class="attachment-area">
<legend>Anhänge</legend>
<input type="text" autocomplete="on" name="file_title[]" placeholder="Title"/>
<input type="file" accept=".pdf" name="file[]"/>
<br />
{{#*inline "attachment" }}
<div>
<input type="text" autocomplete="on" name="file_title[]" placeholder="Title"/>
<input type="file" accept=".pdf" name="file[]"/>
<div/>
{{/inline}}
{{> attachment }}
<hr />
<input type="text" autocomplete="on" name="file_title[]" placeholder="Title"/>
<input type="file" accept=".pdf" name="file[]"/>
<br />
{{> attachment }}
<hr />
<input type="text" autocomplete="on" name="file_title[]" placeholder="Title"/>
<input type="file" accept=".pdf" name="file[]"/>
<br />
{{> attachment }}
<hr />
<input type="text" autocomplete="on" name="file_title[]" placeholder="Title"/>
<input type="file" accept=".pdf" name="file[]"/>
{{> attachment }}
</fieldset>
<fieldset class="link-area">
<legend>Links<sup>2</sup></legend>
<input type="text" autocomplete="on" name="link_title[]" placeholder="Online-Stellenausschreibung" />
<input type="url" autocomplete="url" name="link_url[]" pattern="https://.+" placeholder="{{base.routes.index}}" />
<br />
{{#*inline "link" }}
<div>
<input type="text" autocomplete="on" name="link_title[]" placeholder="Online-Stellenausschreibung" />
<input type="url" autocomplete="url" name="link_url[]" pattern="https://.+" placeholder="{{base.routes.index}}" />
<div/>
{{/inline}}
{{> link }}
<hr />
<input type="text" autocomplete="on" name="link_title[]" placeholder="Online-Stellenausschreibung" />
<input type="url" autocomplete="url" name="link_url[]" pattern="https://.+" placeholder="{{base.routes.index}}" />
<br />
{{> link }}
<hr />
<input type="text" autocomplete="on" name="link_title[]" placeholder="Online-Stellenausschreibung" />
<input type="url" autocomplete="url" name="link_url[]" pattern="https://.+" placeholder="{{base.routes.index}}" />
<br />
{{> link }}
<hr />
<input type="text" autocomplete="on" name="link_title[]" placeholder="Online-Stellenausschreibung" />
<input type="url" autocomplete="url" name="link_url[]" pattern="https://.+" placeholder="{{base.routes.index}}" />
{{> link }}
</fieldset>
<div class="notes">