summaryrefslogtreecommitdiff
path: root/app/views/admin/broadcast_messages/_form.html.haml
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-01-24 10:25:16 -0800
committerKushal Pandya <kushal@gitlab.com>2017-01-24 10:29:54 -0800
commit08c57ec94ac622530c3bd401467ab6574b6de2e5 (patch)
tree8fc9f8d5cb191effbc700f6d9227b95cf002b65c /app/views/admin/broadcast_messages/_form.html.haml
parentcd232bf7eee164810775bfbf5de3d830effdcff9 (diff)
downloadgitlab-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.haml2
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)