Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: appengine/monorail/templates/tracker/field-value-multi-str.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 [if-any fields.values]
2 [for fields.values]
3 <input name="custom_[fields.field_id]" value="[fields.values.val]"
4 [# TODO(jrobbins): string validation]
5 [if-index fields.values first]
6 [if-any fields.field_def.is_required_bool]required="required"[end]
7 [end]
8 size="90" class="multivalued customfield">
9 [if-index fields.values first][else]
10 <u class="removeMultiFieldValueWidget">X</u>
11 [end]
12 [if-index fields.values last]
13 <u class="addMultiFieldValueWidget" data-field-id="[fields.field_id]" data -field-type="str">Add a value</u>
14 [end]
15 [end]
16 [else]
17 <input name="custom_[fields.field_id]" value=""
18 [# TODO(jrobbins): string validation]
19 [if-any fields.field_def.is_required_bool]required="required"[end]
20 size="90" class="multivalued customfield">
21 <u class="addMultiFieldValueWidget" data-field-id="[fields.field_id]" dat a-field-type="str">Add a value</u>
22 [end]
23
24 [for fields.derived_values]
25 <input disabled="disabled" value="[fields.derived_values.val]"
26 style="font-style:italic" size="90" class="multivalued">
27 [end]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698