File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
app/templates/settings/tokens Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change 2
2
3
3
<form local-class =" form" {{ on " submit" (prevent-default (perform this.saveTokenTask ))}} >
4
4
<div local-class =" form-group" >
5
- <label for ={{ this.id }} >Name</label >
6
- <Input
7
- id ={{ this.id }}
8
- @type =" text"
9
- @value ={{ this.name }}
10
- disabled ={{ this.saveTokenTask.isRunning }}
11
- aria-required =" true"
12
- aria-invalid ={{ if this.nameInvalid " true" " false" }}
13
- local-class =" name-input"
14
- data-test-name
15
- {{ auto-focus }}
16
- {{ on " input" this.resetNameValidation }}
17
- />
5
+ {{ #let (unique-id ) as |id |}}
6
+ <label for ={{ id }} >Name</label >
7
+ <Input
8
+ id ={{ id }}
9
+ @type =" text"
10
+ @value ={{ this.name }}
11
+ disabled ={{ this.saveTokenTask.isRunning }}
12
+ aria-required =" true"
13
+ aria-invalid ={{ if this.nameInvalid " true" " false" }}
14
+ local-class =" name-input"
15
+ data-test-name
16
+ {{ auto-focus }}
17
+ {{ on " input" this.resetNameValidation }}
18
+ />
19
+ {{ /let }}
18
20
</div >
19
21
20
22
<div local-class =" buttons" >
You can’t perform that action at this time.
0 commit comments