Skip to content

Commit 51afa2f

Browse files
committed
Convert unknown arguments to attributes for built-in components
1 parent 32ad66a commit 51afa2f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/components/pagination.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<nav local-class='pagination' aria-label="Pagination navigation">
2-
<LinkTo @query={{hash page=@pagination.prevPage}} local-class="prev" @rel="prev" @title="previous page" data-test-pagination-prev>
2+
<LinkTo @query={{hash page=@pagination.prevPage}} local-class="prev" rel="prev" title="previous page" data-test-pagination-prev>
33
{{svg-jar "left-pag"}}
44
</LinkTo>
55
<ol>
66
{{#each @pagination.pages as |page|}}
77
<li>
8-
<LinkTo @query={{hash page=page}} @title={{concat "Go to page " page}}>
8+
<LinkTo @query={{hash page=page}} title={{concat "Go to page " page}}>
99
{{ page }}
1010
</LinkTo>
1111
</li>
1212
{{/each}}
1313
</ol>
14-
<LinkTo @query={{hash page=@pagination.nextPage}} local-class="next" @rel="next" @title="next page" data-test-pagination-next>
14+
<LinkTo @query={{hash page=@pagination.nextPage}} local-class="next" rel="next" title="next page" data-test-pagination-next>
1515
{{svg-jar "right-pag"}}
1616
</LinkTo>
1717
</nav>

app/components/settings/api-tokens.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<Input
3131
@type="text"
3232
placeholder="New token name"
33-
@disabled={{this.newToken.isSaving}}
33+
disabled={{this.newToken.isSaving}}
3434
@value={{this.newToken.name}}
3535
data-test-focused-input
3636
{{auto-focus}}

app/templates/crate/owners.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<label local-class="email-input-label" for='new-owner-username'>
1010
Username
1111
</label>
12-
<Input @type="text" id="new-owner-username" @value={{this.username}} placeholder="Username" local-class="email-input" @name="username" />
12+
<Input @type="text" id="new-owner-username" @value={{this.username}} placeholder="Username" local-class="email-input" name="username" />
1313
<button type="submit" disabled={{not this.username}} local-class="submit-button" data-test-save-button>Save</button>
1414
</form>
1515
</div>

0 commit comments

Comments
 (0)