Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cto
g1
Commits
3136a339
Commit
3136a339
authored
Nov 28, 2019
by
Bharat R
👀
Browse files
Wip:
#175
parent
69ffcde7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/formhandler.template.html
View file @
3136a339
...
...
@@ -374,6 +374,7 @@ Each template receives these variables:
options.columns
var
cols =
options.columns.length
?
filtered_cols
:
meta.columns
var
form_id =
idcount,
img
var
namespace =
options.namespace
?
options.namespace
+
'
:
'
:
''
if
(
options.rowTemplate
)
{
_.each
(
data
,
function
(
row
,
rowIndex
)
{
%
>
<
%=
typeof
options.rowTemplate =
=
'
function
'
?
options.rowTemplate
({
row:
row
,
index:
rowIndex
,
data:
data
})
:
_.template
(
options.rowTemplate
)({
row:
row
,
data:
data
,
index:
rowIndex
})
%
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment