Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Emmanuel QUEVILLON
BIGSdb
Commits
72be363e
Commit
72be363e
authored
Jan 08, 2015
by
Keith Jolley
Browse files
Source formatting.
parent
ede3f8e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/BIGSdb/CurateIsolateAddPage.pm
View file @
72be363e
...
...
@@ -392,9 +392,9 @@ sub print_provenance_form_elements {
);
}
}
say
"
<span class=
\
"
metaset
\
"
>Metadata:
$metaset
</span>
"
if
!
$set_id
&&
defined
$metaset
;
say
qq(
<span class="metaset">Metadata: $metaset</span>
)
if
!
$set_id
&&
defined
$metaset
;
if
(
$thisfield
->
{'
comments
'}
)
{
say
"
<a class=
\
"
tooltip
\
"
title=
\
"
$thisfield
->{'comments'}
\
"
> <i>i</i> </a>
"
;
say
qq(
<a class="tooltip" title="$thisfield->{'comments'}"> <i>i</i> </a>
)
;
}
if
(
(
none
{
lc
(
$field
)
eq
$_
}
qw(datestamp date_entered)
)
&&
lc
(
$thisfield
->
{'
type
'}
)
eq
'
date
'
)
{
say
"
format: yyyy-mm-dd
";
...
...
@@ -409,7 +409,7 @@ sub print_provenance_form_elements {
}
else
{
$aliases
=
[]
;
}
say
"
<li><label for=
\
"
aliases
\
"
class=
\
"
form
\
"
style=
\
"
width:
${width}
em
\
"
>aliases: </label>
"
;
say
qq(
<li><label for="aliases" class="form" style="width:${width}em">aliases: </label>
)
;
local
$"
=
"
\n
";
say
$q
->
textarea
(
-
name
=>
'
aliases
',
-
id
=>
'
aliases
',
-
rows
=>
2
,
-
cols
=>
12
,
-
style
=>
'
width:10em
',
-
default
=>
"
@
$aliases
"
);
say
"
</li>
";
...
...
@@ -419,7 +419,7 @@ sub print_provenance_form_elements {
}
else
{
$pubmed
=
[]
;
}
say
"
<li><label for=
\
"
pubmed
\
"
class=
\
"
form
\
"
style=
\
"
width:
${width}
em
\
"
>PubMed ids: </label>
"
;
say
qq(
<li><label for="pubmed" class="form" style="width:${width}em">PubMed ids: </label>
)
;
say
$q
->
textarea
(
-
name
=>
'
pubmed
',
-
id
=>
'
pubmed
',
-
rows
=>
2
,
-
cols
=>
12
,
-
style
=>
'
width:10em
',
-
default
=>
"
@
$pubmed
"
);
say
"
</li>
";
say
"
</ul>
";
...
...
Write
Preview
Supports
Markdown
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