| OLD | NEW |
| 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <link rel="import" href="cr-user-autocomplete.html"> | 5 <link rel="import" href="cr-user-autocomplete.html"> |
| 6 | 6 |
| 7 <polymer-element name="cr-issue-editor" attributes="issue errors disabled fields
"> | 7 <polymer-element name="cr-issue-editor" attributes="issue errors disabled fields
"> |
| 8 <template> | 8 <template> |
| 9 <link rel="stylesheet" href="common.css"> | 9 <link rel="stylesheet" href="../common/common.css"> |
| 10 <link rel="stylesheet" href="forms.css"> | 10 <link rel="stylesheet" href="../common/forms.css"> |
| 11 | 11 |
| 12 <fieldset class="form-fields" disabled?="{{ disabled }}"> | 12 <fieldset class="form-fields" disabled?="{{ disabled }}"> |
| 13 <template if="{{ fields | contains('subject') }}"> | 13 <template if="{{ fields | contains('subject') }}"> |
| 14 <div class="form-row"> | 14 <div class="form-row"> |
| 15 <label class="form-label" for="subject">Title</label> | 15 <label class="form-label" for="subject">Title</label> |
| 16 <div class="form-field"> | 16 <div class="form-field"> |
| 17 <input type="text" id="subject" value="{{ subject }}" au
tocomplete="off" class="{{ {invalid: errors.subject} | tokenList }}"> | 17 <input type="text" id="subject" value="{{ subject }}" au
tocomplete="off" class="{{ {invalid: errors.subject} | tokenList }}"> |
| 18 <div class="form-error">{{ errors.subject }}</div> | 18 <div class="form-error">{{ errors.subject }}</div> |
| 19 </div> | 19 </div> |
| 20 </div> | 20 </div> |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 private: this.private, | 118 private: this.private, |
| 119 }; | 119 }; |
| 120 return data; | 120 return data; |
| 121 }, | 121 }, |
| 122 contains: function(list, value) { | 122 contains: function(list, value) { |
| 123 return list && list.indexOf(value) != -1; | 123 return list && list.indexOf(value) != -1; |
| 124 }, | 124 }, |
| 125 }); | 125 }); |
| 126 </script> | 126 </script> |
| 127 </polymer-element> | 127 </polymer-element> |
| OLD | NEW |