File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11< li >
2- < select onchange ="clChange('prodlist') ">
2+ {{- with .Parent }}
3+ < select onchange ="clChange('{{ .Get 0 }}') ">
4+ {{- end }}
35 < option value ="R "> ❌</ option >
46 < option value ="G "> ✅</ option >
57 < option value ="A "> 🔍</ option >
68 < option value ="X "> ∅</ option >
79</ select >
8- {{- if index .Params 0 -}}
10+ {{- if .Get 0 -}}
911< a href ="{{ index .Params 0 }} "> {{ .Inner }}</ a >
1012{{- else -}}
1113{{ .Inner }}
Original file line number Diff line number Diff line change 1- {{ $formId := index .Params 0 }}
1+ {{ $formId := .Get 0 }}
22< form id ="{{ $formId }} ">
33 < ul style ="list-style-type: none;padding-left: 0px; ">
44 {{ .Inner }}
1717 document . addEventListener ( 'DOMContentLoaded' , ( ) => {
1818 let itemString = localStorage . getItem ( "{{ $formId }}" ) ;
1919
20- if ( itemString !== "" ) {
20+ if ( itemString ) {
2121 setCLItemsFromString ( "{{ $formId }}" , itemString ) ;
2222 } else {
2323 clChange ( "{{ $formId }}" ) ;
You can’t perform that action at this time.
0 commit comments