-
- Downloads
Standardize the way we check for and display form errors
- Some views had a "Close" button. We've removed this, because we don't want users accidentally hiding the validation errors and not knowing what needs to be fixed. - Some views used `li`, some used `p`, some used `span`. We've standardized on `li`. - Some views only showed the first error. We've standardized on showing all of them. - Some views added an `#error_explanation` div, which we've made standard.
Showing
- app/helpers/form_helper.rb 18 additions, 0 deletionsapp/helpers/form_helper.rb
- app/views/abuse_reports/new.html.haml 2 additions, 4 deletionsapp/views/abuse_reports/new.html.haml
- app/views/admin/appearances/_form.html.haml 1 addition, 4 deletionsapp/views/admin/appearances/_form.html.haml
- app/views/admin/application_settings/_form.html.haml 1 addition, 5 deletionsapp/views/admin/application_settings/_form.html.haml
- app/views/admin/applications/_form.html.haml 2 additions, 5 deletionsapp/views/admin/applications/_form.html.haml
- app/views/admin/broadcast_messages/_form.html.haml 2 additions, 4 deletionsapp/views/admin/broadcast_messages/_form.html.haml
- app/views/admin/deploy_keys/new.html.haml 1 addition, 5 deletionsapp/views/admin/deploy_keys/new.html.haml
- app/views/admin/groups/_form.html.haml 1 addition, 4 deletionsapp/views/admin/groups/_form.html.haml
- app/views/admin/hooks/index.html.haml 2 additions, 4 deletionsapp/views/admin/hooks/index.html.haml
- app/views/admin/identities/_form.html.haml 1 addition, 5 deletionsapp/views/admin/identities/_form.html.haml
- app/views/admin/labels/_form.html.haml 1 addition, 7 deletionsapp/views/admin/labels/_form.html.haml
- app/views/admin/users/_form.html.haml 1 addition, 5 deletionsapp/views/admin/users/_form.html.haml
- app/views/doorkeeper/applications/_form.html.haml 1 addition, 5 deletionsapp/views/doorkeeper/applications/_form.html.haml
- app/views/groups/edit.html.haml 1 addition, 3 deletionsapp/views/groups/edit.html.haml
- app/views/groups/new.html.haml 1 addition, 4 deletionsapp/views/groups/new.html.haml
- app/views/profiles/keys/_form.html.haml 1 addition, 5 deletionsapp/views/profiles/keys/_form.html.haml
- app/views/profiles/notifications/show.html.haml 1 addition, 5 deletionsapp/views/profiles/notifications/show.html.haml
- app/views/profiles/passwords/edit.html.haml 2 additions, 5 deletionsapp/views/profiles/passwords/edit.html.haml
- app/views/profiles/passwords/new.html.haml 2 additions, 5 deletionsapp/views/profiles/passwords/new.html.haml
- app/views/profiles/show.html.haml 2 additions, 5 deletionsapp/views/profiles/show.html.haml
app/helpers/form_helper.rb
0 → 100644
Please register or sign in to comment