mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
(Captiveportal, new) hook in template selction on zone
This commit is contained in:
parent
0ef870272b
commit
1ec3078bfc
@ -67,6 +67,17 @@
|
||||
<mask>/^([0-9a-fA-F:,])*/u</mask>
|
||||
<ValidationMessage>Please enter valid mac addresses</ValidationMessage>
|
||||
</allowedMACAddresses>
|
||||
<template type="ModelRelationField">
|
||||
<Model>
|
||||
<template>
|
||||
<source>OPNsense.Captiveportal.Captiveportal</source>
|
||||
<items>templates.template</items>
|
||||
<display>name</display>
|
||||
</template>
|
||||
</Model>
|
||||
<ValidationMessage>Related template not found</ValidationMessage>
|
||||
<Required>N</Required>
|
||||
</template>
|
||||
<description type="TextField">
|
||||
<Required>Y</Required>
|
||||
<mask>/^([\t\n\v\f\r 0-9a-zA-Z.,_\x{00A0}-\x{FFFF}]){1,255}$/u</mask>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user