Javi Martín
89402bdbf6
Use raw instead of html_safe
...
They do the exact same thing; however `html_safe` might confuse
developers into thinking it will make the HTML safe. Using `raw` makes
it clear that we're inserting the text without escaping it.
2019-10-08 19:10:13 +02:00
Javi Martín
5fe56a62f1
Remove useless label false parameter in select_tag
...
`select_tag` creates just a select with no label, so there's no need to
specify `label: false`.
2019-10-06 19:32:04 +02:00
Javi Martín
3ea9f3cecf
Simplify generating form fields with labels
...
Instead of generating the label and then a field without a label, we can
directly generate a field with a label.
2019-10-05 16:01:58 +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
taitus
37f20198da
Add setting_name param to others calls to _setting_table partial
...
In these cases "setting" is the value expected by the new helper method for
everything to continue rendering in the usual way.
Note:
All the new calls to _setting_table partial will need add setting_name param.
2019-07-29 13:10:09 +02:00
Julian Herrero
4df9a1a1b4
Move HTML settings to content blocks settings page
...
- Rename html settings keys
- Show html settings next to content blocks page
- Hide html settings from configuration tab
2019-03-19 19:45:34 +01:00
Julian Herrero
c32a98be10
Use double quotes in app/views/admin/site_customization
2019-03-19 12:16:50 +01:00
Julian Herrero
d77183ee09
Improvement - CRUD budgets and content blocks
2019-01-14 12:59:48 +01:00
Julian Herrero
fcfee3a906
apply missing requeriments in PR #3043
...
In this PR https://github.com/consul/consul/pull/3043
there were some change requests. In order to keep moving
we decided to merge the PR and do the changes ourselves.
2018-12-11 18:21:14 +01:00
Milber Champutiz Burbano
9f455b9165
Added feature to add content block to headings in sidebar -- rebase
2018-11-27 09:37:35 -05:00
Alberto
21f36e6be5
Merge branch 'master' into feature/1-nav-content-blocks
2018-09-05 12:41:07 +02:00
decabeza
3fee56e8fe
Updates admin site customization specs
2018-07-31 12:55:05 +02:00
decabeza
f77327e93c
Unifies styles and views for admin site customization content blocks
2018-07-31 12:54:21 +02:00
Ziyan Junaideen
9bad639bb5
i18n usage - typo + sub navigation using new keys
2018-07-26 22:55:49 +05:30
Ziyan Junaideen
a37b64dfb6
i18n desc for content block known keys + use in select in form
2018-07-26 22:55:49 +05:30
decabeza
573a7e7c13
Moves content blocks info to index view
2018-06-08 18:45:45 +02:00
decabeza
76b7f66fb3
fixes scss lint warnings
2017-06-16 12:09:01 +02:00
Alberto Garcia Cabeza
8cbf9f3c3d
improves site customization layout, tables, i18n
2017-04-17 19:02:40 +02:00
Fernando Blat
e126a2ded0
Add information about content blocks
2017-04-06 17:00:05 +02:00
Amaia Castro
c1de2dced4
Custom content blocks for top_links and footer
2017-04-06 17:00:05 +02:00