ufosc / Club_Website_2

UF Open Source Club Website
https://ufosc.org
GNU Affero General Public License v3.0
13 stars 41 forks source link

Bug: Contact form submit button displaying incorrect text #185

Closed zeim839 closed 1 year ago

zeim839 commented 1 year ago
Screenshot 2023-11-01 at 15 51 45

Image: See https://ufosc.org (scroll to bottom)

The default value of the contact form 'submit' button varies between different browsers and devices, whereas we expect it to always be "submit". Sometimes, it will show up as "submit query", which is too large to fit within the button.

Solution: add a 'value' attribute to the input element in views/index.ejs at line 226. For example:

<input type="submit" name="submit" value="submit" class="contact__content__form-sumbit" style="background-color: #38F521;">
ChowChunLeong commented 1 year ago

this task can assign to me?

zeim839 commented 1 year ago

@ChowChunLeong Sure. Let me know if you need any help.

zeim839 commented 1 year ago

Implemented in #186 Thanks @ChowChunLeong