Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
0cc2b492
Commit
0cc2b492
authored
May 12, 2020
by
Ozzieisaacs
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into Develop
# Conflicts: # cps/templates/book_edit.html
parents
87c76c09
44d5adc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
book_edit.html
cps/templates/book_edit.html
+3
-3
No files found.
cps/templates/book_edit.html
View file @
0cc2b492
...
...
@@ -305,9 +305,9 @@
// create a random identifier type to have a valid name in form. This will not be used when dealing with the form
var
rand_id
=
Math
.
floor
(
Math
.
random
()
*
1000000
).
toString
();
var
line
=
'<tr>'
;
line
+=
'<td><input type="text" class="form-control" name="identifier-type-'
+
rand_id
+
'" required="required" placeholder=
"{{_('
Identifier
Type
')|forceescape}}"
></td>'
;
line
+=
'<td><input type="text" class="form-control" name="identifier-val-'
+
rand_id
+
'" required="required" placeholder=
"{{_('
Identifier
Value
')|forceescape}}"
></td>'
;
line
+=
'<td><a class="btn btn-default" onclick="removeIdentifierLine(this)">{{_('
Remove
')
|forceescape
}}</a></td>'
;
line
+=
'<td><input type="text" class="form-control" name="identifier-type-'
+
rand_id
+
'" required="required" placeholder=
{{_('
Identifier
Type
')|safe|tojson}}
></td>'
;
line
+=
'<td><input type="text" class="form-control" name="identifier-val-'
+
rand_id
+
'" required="required" placeholder=
{{_('
Identifier
Value
')|safe|tojson}}
></td>'
;
line
+=
'<td><a class="btn btn-default" onclick="removeIdentifierLine(this)">{{_('
Remove
')}}</a></td>'
;
line
+=
'</tr>'
;
$
(
"#identifier-table"
).
append
(
line
);
});
...
...
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