Form:Event: Difference between revisions
From PC Gaming Shelter
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 53: | Line 53: | ||
|property=Has short description | |property=Has short description | ||
}} | }} | ||
{{{field | |||
|Is recurring | |||
|input type=checkbox | |||
|label=Recurring event | |||
|show on select=Yes=>recurring; | |||
}}} | |||
{{form row | {{form row | ||
|{{{field | |{{{field | ||
| Line 71: | Line 79: | ||
|property=Has end date | |property=Has end date | ||
}} | }} | ||
<div id="recurring"> | |||
;Recurring Event | |||
{{form row | |||
|{{{field | |||
|Recurring period | |||
|input type=regexp | |||
|regexp=/^\d*$/ | |||
|message=Only integers! | |||
|mandatory | |||
|placeholder=1 | |||
|default=1 | |||
|class=form-control | |||
}}} {{{field | |||
|Recurring unit | |||
|input type=dropdown | |||
|values=day,week,month,year | |||
|mandatory | |||
|default=month | |||
|class=form-control | |||
}}} | |||
|label=Repeat every | |||
}} | |||
<div class="d-flex"> | |||
{{form row | |||
|{{{field | |||
|Exclude dates | |||
|input type=textarea | |||
|list | |||
|delimiter=\n | |||
|class=form-control | |||
}}} | |||
|label=Exclude dates: | |||
}} | |||
{{form row | |||
|{{{field | |||
|Include dates | |||
|input type=textarea | |||
|list | |||
|delimiter=\n | |||
|class=form-control | |||
}}} | |||
|label=Exclude dates: | |||
}} | |||
</div> | |||
</div> | |||
{{form row | {{form row | ||
|{{{field | |{{{field | ||
Revision as of 18:52, 17 June 2026
