Javi Martín
ae2576020e
Extract method to use WYSIWYGSanitizer in views
...
This is similar to methods we use like `sanitize` or `markdown`.
2019-10-21 21:32:02 +02:00
Javi Martín
2aabf79fb4
Rename methods to add auto links to HTML
...
The name `safe_html_with_links` was confusing and could make you think
it takes care of making the HTML safe. So I've renamed it in a way that
makes it a bit more intuitive that it expects its input to be already
sanitized.
I've changed `text_with_links` as well so now the two method names
complement each other.
2019-10-08 18:46:20 +02:00
Javi Martín
ee8426c5b5
Indent with spaces instead of tabs
2019-09-10 20:02:15 +02:00
Javi Martín
911fe4e481
Simplify calls to render partial
...
We're also adding a bit of consistency, since most of our calls to
partial rendering omit the `partial` and `locals` keys.
2019-09-04 15:00:36 +02:00
Julian Herrero
f6489bc604
Use double quotes in app/views
2019-03-19 12:33:07 +01:00
Julian Herrero
884274c4ad
Add a description for open polls
2019-02-18 13:34:07 +01:00
decabeza
52fa9d27ac
Removes custom content on index views pages
2018-07-30 17:55:56 +02:00
decabeza
3f7395fa19
Adds message on polls index if there are no open polls
2018-04-27 18:24:17 +02:00
decabeza
f497227e3f
improves layout for polls index view
2017-10-02 12:24:31 +02:00
decabeza
e131fe9992
moves header description to footer
2017-09-13 13:23:41 +02:00
decabeza
2a389dbb55
removes unnecessary html tag
2017-09-06 18:08:29 +02:00
decabeza
e24e9df4a5
adds section header on polls, make filter styles consistent
2017-08-30 18:10:59 +02:00
Alberto Garcia Cabeza
b29a353ce5
adds rel canonical on main sections
2017-05-08 15:06:18 +02:00
Juanjo Bazán
43907de807
checks for presence in hash value instead of expecting an array
2017-02-01 18:00:21 +01:00
Alberto Garcia Cabeza
d676c84605
removes comments
2017-02-01 17:41:12 +01:00
Juanjo Bazán
ee3b725831
avoids loop to render
2017-02-01 17:37:16 +01:00
Alberto Garcia Cabeza
a490b88865
moves polls_group to partial
2017-02-01 17:31:04 +01:00
Juanjo Bazán
7091e15f1b
separates polls in poll index based on geozone restriction
2017-02-01 17:01:09 +01:00
Alberto Garcia Cabeza
8c4541d50f
shows always questions lists and button to participate on poll index
2017-01-31 21:08:03 +01:00
Alberto Garcia Cabeza
6214bd4874
changes layout on polls index
2017-01-31 18:55:30 +01:00
Alberto Garcia Cabeza
88b5a491e8
adds link to poll on poll name in poll index
2017-01-30 20:56:50 +01:00
Alberto Garcia Cabeza
20a86063b7
removes reasons for not answering on poll index
2017-01-30 20:56:07 +01:00
kikito
c1345a1f7d
Includes reason for not being able to participate in poll index
2017-01-30 11:30:39 +01:00
kikito
55ace74c67
Shows geozones when listing polls
2017-01-30 11:30:08 +01:00
Alberto Garcia Cabeza
d231a0188c
improves layout for polls index
2016-12-26 17:20:26 +01:00
Alberto Garcia Cabeza
a6fbe063c9
adds styles to polls index and show views
2016-12-22 18:30:39 +01:00
Juanjo Bazán
1a20a3ce46
refactors i18n for polls
2016-12-07 14:49:56 +01:00
kikito
35a5136d9f
Implements filtering in polls/index
2016-11-03 17:52:15 +01:00
kikito
3eca3faacd
First version of Polls Controller
2016-10-31 14:13:56 +01:00