Skip to content

Commit

Permalink
Fix Summary being incomplete during edit/resubmit.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHellTower committed Aug 26, 2023
1 parent efa63e4 commit 4ea0275
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/dynamic/edit.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
<div id="edit" class="section">
<form class="center">
<div class="input-holder">
<input id="botid" class="input" type='text' placeholder=' ' value=<%= bot.botid %> readonly=''>
<input id="botid" class="input" type='text' placeholder=' ' value="<%= bot.botid %>" readonly=''>
<div class="placeholder">Client ID</div>
</div>
<br>
<div class="input-holder">
<input id="prefix" class="input" type='text' placeholder=' ' value=<%= bot.prefix %>>
<input id="prefix" class="input" type='text' placeholder=' ' value="<%= bot.prefix %>">
<div class="placeholder">Prefix</div>
</div>
<br>
<div class="input-holder">
<input id="description" class="input" maxlength=<%= WEBSITE_MAXSUMMARYLENGTH %> type='text' placeholder=' ' value=<%= bot.description %>>
<input id="description" class="input" maxlength=<%= WEBSITE_MAXSUMMARYLENGTH %> type='text' placeholder=' ' value="<%= bot.description %>">
<div class="placeholder">Summary</div>
</div>
<br>
Expand All @@ -56,9 +56,9 @@
<br>
<div class="input-holder">
<% if (bot.owners.primary == req.user.id) { %>
<input id="owner-ids" class="input xinput" type='text' placeholder=' ' value=<%= bot.owners.additional.join(" ") %>>
<input id="owner-ids" class="input xinput" type='text' placeholder=' ' value="<%= bot.owners.additional.join(" ") %>">
<% } else { %>
<input id="owner-ids" class="input xinput" type='text' placeholder=' ' value=<%= bot.owners.additional.join(" ") %> disabled>
<input id="owner-ids" class="input xinput" type='text' placeholder=' ' value="<%= bot.owners.additional.join(" ") %>" disabled>
<% } %>
<div class="placeholder">Only the primary owner can edit additional owners</div>
</div>
Expand Down

0 comments on commit 4ea0275

Please sign in to comment.