Skip to content

Commit

Permalink
use new form request syntax for lbs system
Browse files Browse the repository at this point in the history
  • Loading branch information
benibela committed Jun 24, 2024
1 parent bad6155 commit 5477e25
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions data/libraries/templates/lbs/template
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
<page url="{$nextpage}">
<template>
<DIV id="main_wrapper">
<t:switch>
<FORM><input name="username"/> {nextpage := form(., {"username": $username, "password": $password})}</FORM>
<FORM><input name="j_username"/> {nextpage := form(., {"j_username": $username, "j_password": $password})}</FORM>
</t:switch>
<FORM>
<input t:condition="@name=('username', 'j_username')" t:form-request="$username"/>
<input t:condition="@name=('password', 'j_password')" t:form-request="$password"/>
</form>
</DIV>
</template>
</page>

<page url="{$nextpage}">
<page url="{$form-request}">
<template>
<t:switch prioritized="true">
<FORM class="topbox">
Expand Down

0 comments on commit 5477e25

Please sign in to comment.