earthdata-owner / test-repo-A

Test Repo A for Tasktop integration
0 stars 0 forks source link

Required fields should be clearly indicated on the "Create a New Project" page #37

Closed ccuadrado closed 2 years ago

ccuadrado commented 2 years ago

Currently, there is no indicator on what is required and what is not, until you actually leave a required field blank and click the "next step" button.

ccuadrado commented 2 years ago

(Comment from Bo Sun):

Added helper method mark_require. If there is a ActiveModel::Validations::PresenceValidator validator on the field, "(Required)" will be shown up in the page.