Commit Graph

18 Commits

Author SHA1 Message Date
evazion
cde76e66f6 forms: fix form validation error messages.
* Fix it so that all edit forms show an error banner if the form
  has validation errors. Previously forms had to manually call
  `error_messages_for`, which not all forms did.

* Fix it so that the full validation error message is shown next to each
  input attribute that had errors. Also update the styling of these
  error messages to look better.
2021-02-22 02:38:26 -06:00
evazion
883856d4af simple form: refactor DText form fields to use SimpleForm.
* Refactors DText form fields to use a custom SimpleForm input instead
  of manually generated html. This fixes it so that DText fields use the
  same markup as normal SimpleForm fields, which lets us apply browser
  maxlength validations to DText input fields.

* Fixes autocomplete for @-mentions only working in comments and forum posts.
  Now @-mention autocomplete works in all DText fields, including dmails.
  Known bug: it applies in artist commentary fields when it shouldn't.
2020-06-25 16:28:09 -05:00
evazion
bebc4694dd pools: remove is_active flag.
Remove uses of the is_active flag. Keep column in database (for now).

The only purpose of this flag was to filter out pools from the pool list
in the Add to Pool dialog. This hasn't had much use since autocomplete
was added. Most pools didn't set the flag correctly anyway.
2020-01-12 01:23:35 -06:00
evazion
c86c61c9a4 Fix #4162: Remove browser autocomplete from most inputs. 2020-01-10 16:08:34 -06:00
evazion
f151285038 views: standardize page titles. 2019-08-24 22:55:35 -05:00
evazion
b660aeefd7 application record: add array_attribute method.
Add `array_attribute` method that defines helper methods for converting
array attributes to or from strings.
2018-11-13 19:18:11 -06:00
evazion
115ed16a96 pools: store post_ids as array instead of string (fix #3979) 2018-11-08 15:09:31 -06:00
Toks
5a8674d342 fix #2239 2015-05-02 11:12:30 -04:00
Toks
8fb55a5ff3 fixes #1858 2013-07-17 18:46:23 -04:00
Toks
cb5c4a50c5 Decrease size of pool name input 2013-07-11 20:47:46 -04:00
Toks
a9efb93e99 add category field to pools 2013-05-06 12:14:42 -04:00
Toks
91f8fddb18 fixes #1177 and more pretty pool name cases 2013-04-04 12:34:26 -04:00
albert
dd5a965884 fixes 2012-03-12 17:50:45 -04:00
albert
34ae712be0 fixed titles 2011-10-23 16:55:57 -04:00
albert
d6e4283cc7 refactoring 2011-06-12 16:41:23 -04:00
albert
e431452a11 improved pool simple edit interface 2011-03-03 18:26:50 -05:00
albert
6d0157265c pool views 2011-02-25 17:41:00 -05:00
albert
cd451109e8 stubbed in pool controller test 2011-01-20 18:30:36 -05:00