Skip to content

Commit a33b90c

Browse files
committed
me.index: Remove unnecessary #me-api wrapper element
1 parent 4e295ba commit a33b90c

File tree

1 file changed

+26
-28
lines changed

1 file changed

+26
-28
lines changed

app/templates/me/index.hbs

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -68,35 +68,33 @@
6868
</div>
6969
</form>
7070

71-
<div id='me-api'>
72-
<div class='me-subheading'>
73-
<h2>API Access</h2>
74-
<div class='right'>
75-
<button
76-
type="button"
77-
class='yellow-button'
78-
disabled={{this.disableCreate}}
79-
data-test-new-token-button
80-
{{action "startNewToken"}}
81-
>
82-
New Token
83-
</button>
84-
</div>
71+
<div class='me-subheading'>
72+
<h2>API Access</h2>
73+
<div class='right'>
74+
<button
75+
type="button"
76+
class='yellow-button'
77+
disabled={{this.disableCreate}}
78+
data-test-new-token-button
79+
{{action "startNewToken"}}
80+
>
81+
New Token
82+
</button>
8583
</div>
84+
</div>
8685

87-
<p>
88-
If you want to use package commands from the command line, you will need to
89-
login with <code>cargo login (token)</code> using one of the tokens listed below.
90-
</p>
91-
<p>
92-
When working in shared environments, supplying the token on the command line could
93-
expose it to prying eyes. To avoid this, enter <code>cargo login</code> and supply your
94-
token when prompted.
95-
</p>
86+
<p>
87+
If you want to use package commands from the command line, you will need to
88+
login with <code>cargo login (token)</code> using one of the tokens listed below.
89+
</p>
90+
<p>
91+
When working in shared environments, supplying the token on the command line could
92+
expose it to prying eyes. To avoid this, enter <code>cargo login</code> and supply your
93+
token when prompted.
94+
</p>
9695

97-
<div local-class="token-list">
98-
{{#each this.sortedTokens as |api_token|}}
99-
<ApiTokenRow @api_token={{api_token}} />
100-
{{/each}}
101-
</div>
96+
<div local-class="token-list">
97+
{{#each this.sortedTokens as |api_token|}}
98+
<ApiTokenRow @api_token={{api_token}} />
99+
{{/each}}
102100
</div>

0 commit comments

Comments
 (0)