diff options
author | Kushal Pandya <kushal@gitlab.com> | 2017-01-24 10:25:16 -0800 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2017-01-24 10:29:54 -0800 |
commit | 08c57ec94ac622530c3bd401467ab6574b6de2e5 (patch) | |
tree | 8fc9f8d5cb191effbc700f6d9227b95cf002b65c /app/views/admin/broadcast_messages/_form.html.haml | |
parent | cd232bf7eee164810775bfbf5de3d830effdcff9 (diff) | |
download | gitlab-ce-08c57ec94ac622530c3bd401467ab6574b6de2e5.tar.gz |
HAMLLint: Fix `UnnecessaryInterpolation` and `UnnecessaryStringOutput` offences correctly22072-enable-haml-linters-phase-2
Diffstat (limited to 'app/views/admin/broadcast_messages/_form.html.haml')
-rw-r--r-- | app/views/admin/broadcast_messages/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/broadcast_messages/_form.html.haml b/app/views/admin/broadcast_messages/_form.html.haml index 36585184cd9..2269fb1fd8c 100644 --- a/app/views/admin/broadcast_messages/_form.html.haml +++ b/app/views/admin/broadcast_messages/_form.html.haml @@ -4,7 +4,7 @@ - if @broadcast_message.message.present? = render_broadcast_message(@broadcast_message) - else - = ("Your message here") + Your message here = form_for [:admin, @broadcast_message], html: { class: 'broadcast-message-form form-horizontal js-quick-submit js-requires-input'} do |f| = form_errors(@broadcast_message) |