Skip to content

Commit

Permalink
use button id rather than names
Browse files Browse the repository at this point in the history
  • Loading branch information
FuHsinyu committed Aug 7, 2024
1 parent 0e2ecea commit adc7a11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/templates/admin/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ <h2 class="card-title">Update Publication Terms</h2>
<textarea class="form-control" id="publicationTerms" name="publicationTerms" rows="10"
style="width: 110%;" required>{{ publication_terms|safe }}</textarea>
</div>
<button type="submit" name="Update Terms" class="btn btn-primary">Update Terms</button>
<button type="submit" id="update-terms" class="btn btn-primary">Update Terms</button>
</form>
<!-- Form to preview updated terms -->
<button type="button" id="create-preview" name="Preview Terms" class="btn btn-secondary">Preview Terms</button>
<button type="button" id="create-preview" class="btn btn-secondary">Preview Terms</button>
</div>
</div>
</section>
Expand Down

0 comments on commit adc7a11

Please sign in to comment.