Javi Martín
2d37a0396b
Apply Layout/ExtraSpacing rule in ERB files
...
Note that in Ruby files this rule allows vertical alignment, but doesn't
seem to do the same in ERB. Since we only used vertical alignment in one
place, and that place also had an unneeded extra space on every aligned
line, I've decided to change the code in that place and follow the rule.
2021-02-05 17:46:23 +01:00
Javi Martín
6b1864fbcd
Sanitize translations instead of using _html
...
Using the `_html` suffix in an i18n key is the same as using `html_safe`
on it, which means that translation could potentially be used for XSS
attacks.
2019-10-09 19:46:47 +02:00
Javi Martín
75a28fafcb
Sanitize label texts automatically
...
This way we can remove all those `html_safe` calls and we avoid
potential XSS attacks in label texts.
2019-10-08 18:46:21 +02:00
Javi Martín
55a190f44a
Remove unneeded _html suffix in I18n keys
...
This suffix does the same thing as calling `.html_safe` on them. So we
don't need to use it in texts that don't use HTML.
2019-10-08 13:20:22 +02:00
Javi Martín
8d9cb4d8e3
Simplify generating checkboxes in forms
...
Using the block syntax to generate the label with a <span> tag inside
isn't necessary after upgrading foundation_rails_helpers. Before the
upgrade, we couldn't do so because the <span> tag was escaped.
2019-10-06 19:32:04 +02:00
Javi Martín
4f5de5be3b
Add aria-describedby attribute automatically
...
We were manually adding the attribute in many places, but not
everywhere. I'm assuming adding it where we didn't have it is doing no
harm.
2019-10-06 19:32:03 +02:00
Javi Martín
f9ed186909
Add rubocop spacing rules
...
We were following these rules in most places; we just didn't define them
anywhere.
2019-09-10 21:04:56 +02:00
Julian Herrero
f6489bc604
Use double quotes in app/views
2019-03-19 12:33:07 +01:00
decabeza
af7807ce9f
Updates custom note class to foundation help-text
2017-06-27 10:29:36 +02:00
Alberto Garcia Cabeza
508de35320
polishes forms styles on devise views
2017-01-09 19:10:15 +01:00
kikito
303b17c238
Adds invisible_captcha to user & organization registrations
2016-04-27 16:13:50 +02:00
kikito
dea1a28a69
purges simple_captcha
2016-04-27 16:07:47 +02:00
Alberto Garcia Cabeza
68a70238e7
Improves registrations success page
2016-03-14 19:32:50 +01:00
Alberto Garcia Cabeza
f6571662a2
Adds title on links with target blank
2016-03-14 19:32:49 +01:00
Alberto Garcia Cabeza
9dce52a69a
Adds title on input checkboxes
2016-03-14 19:32:49 +01:00
Alberto Garcia Cabeza
3752f3a53b
Adds foundation 6 🎉
2016-02-26 19:33:33 +01:00
Alberto Garcia Cabeza
2ca4557f2d
Improves accesibility
2015-10-13 16:48:37 +02:00
Juanjo Bazán
7d8f1f2629
adds title for public devise views
2015-09-28 13:59:17 +02:00
Alberto Garcia Cabeza
dd7f429104
Changes notes tag on forms
2015-09-28 13:46:54 +02:00
kikito
934b8f481e
Fixes styling in organizations/registrations/success
2015-09-12 19:30:59 +02:00
Juanjo Bazán
6b0edac6fc
adds responsible_name to organizations
2015-09-12 18:16:14 +02:00
kikito
be2a098706
removes missing constant in views, replacing by class method
2015-09-10 18:14:59 +02:00
kikito
ada03c8474
Adds max lengths in views
2015-09-09 18:34:26 +02:00
rgarcia
8d2d86f0c0
adds terms of services to organizations
2015-09-07 01:01:00 +02:00
Alberto Garcia Cabeza
eedd919424
Improves styles and texts for devise pages
2015-09-07 00:16:54 +02:00
Juanjo Bazán
99b23ba354
fixes html render of i18n text
2015-08-29 13:55:37 +02:00
kikito
f47fbe82d5
Uses *_html tags instead of calling raw in the view
2015-08-25 19:22:57 +02:00
Alberto Garcia Cabeza
7d17209be6
Adds styles for organization success registration [ #226 ]
2015-08-25 16:47:53 +02:00
kikito
5e31a9f338
adds a new "organization sigup success" view. Related with #226
2015-08-24 14:34:58 +02:00
kikito
8ca546a431
merges master and fixes conflicts
2015-08-17 02:40:11 +02:00
kikito
9af1f2f4a9
Adds registration controller for organizations
2015-08-17 01:16:07 +02:00