Javi Martín
291620abf7
Use tag.attributes to set conditional HTML attributes
...
Using an `if..else` block made the code harder to follow since the
opening tag was inside the block but the closing tag was outside it.
Moreover, it didn't work well with HTML Beautifier (a gem we're going to
introduce to manage ERB indentations).
2025-03-07 16:02:07 +01:00
..
2023-10-20 08:03:24 +02:00
2025-03-05 11:42:47 +01:00
2024-03-02 17:34:25 +01:00
2025-03-07 16:02:07 +01:00
2024-04-11 18:48:33 +02:00
2024-10-10 10:02:22 +02:00
2024-09-02 15:03:24 +02:00
2024-11-08 13:24:23 +01:00
2024-10-28 21:25:22 +01:00
2024-11-07 15:18:37 +01:00
2023-10-23 15:49:01 +02:00
2025-01-23 17:16:57 +01:00
2024-03-02 17:34:25 +01:00
2024-03-02 17:34:25 +01:00
2025-01-08 16:20:37 +01:00
2024-06-06 16:28:19 +02:00
2021-05-29 15:05:29 +02:00
2024-06-26 20:20:24 +02:00
2024-04-15 15:39:28 +02:00
2024-03-02 17:34:25 +01:00
2024-10-10 10:02:22 +02:00
2024-06-12 15:16:14 +02:00
2024-11-12 18:25:20 +01:00
2024-03-23 00:35:43 +01:00
2024-11-08 12:29:37 +01:00
2024-03-02 17:34:25 +01:00
2024-03-02 17:34:25 +01:00
2024-03-02 17:34:25 +01:00