Skip to content

Instantly share code, notes, and snippets.

@Dan-in-CA
Last active March 26, 2019 19:59
Show Gist options
  • Save Dan-in-CA/48548440a3d5b0f91654 to your computer and use it in GitHub Desktop.
Save Dan-in-CA/48548440a3d5b0f91654 to your computer and use it in GitHub Desktop.
Text entry fields for SIP UI page
<table class="optionList">
<!--Text fields-->
<thead>
<th class="stationNumber">$_('Heading')</th> <!--Edit: Optional-->
<th class="stationNumber">$_('Heading')</th> <!--Edit: Optional-->
</thead>
<tr>
<td style='text-transform: none;'>$_('Text Field 1'):</td> <!--Edit-->
<td><input type="text" name="text-1" value="${settings['text-1'] if 'text-1' in settings else '' }"></td>
</tr>
<tr>
<td style='text-transform: none;'>$_('Text Field 2'):</td> <!--Edit-->
<td><input type="text" name="text-2" value="${settings['text-2'] if 'text-2' in settings else ''}"></td>
</tr>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment