Commit 1ec3078b authored by Ad Schellevis's avatar Ad Schellevis

(Captiveportal, new) hook in template selction on zone

parent 0ef87027
...@@ -67,6 +67,17 @@ ...@@ -67,6 +67,17 @@
<mask>/^([0-9a-fA-F:,])*/u</mask> <mask>/^([0-9a-fA-F:,])*/u</mask>
<ValidationMessage>Please enter valid mac addresses</ValidationMessage> <ValidationMessage>Please enter valid mac addresses</ValidationMessage>
</allowedMACAddresses> </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"> <description type="TextField">
<Required>Y</Required> <Required>Y</Required>
<mask>/^([\t\n\v\f\r 0-9a-zA-Z.,_\x{00A0}-\x{FFFF}]){1,255}$/u</mask> <mask>/^([\t\n\v\f\r 0-9a-zA-Z.,_\x{00A0}-\x{FFFF}]){1,255}$/u</mask>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment