From b2651aa67198f20c188a6cccf0246782f4f67068 Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Wed, 20 Nov 2019 06:43:37 +0100 Subject: [PATCH 1/6] Remove deprecated Symbol literal for *.scala.html files via regex find core-play27/ play27-bootstrap3/ play27-bootstrap4/ -name *.scala.html | xargs sed -i "s/'\([^> ]\+\) ->/Symbol(\"\1\") ->/g" --- .../module/app/views/b3/checkbox.scala.html | 2 +- .../module/app/views/b3/form.scala.html | 2 +- .../app/views/b3/radioWithContent.scala.html | 2 +- .../app/views/b3/radioWithOptions.scala.html | 2 +- .../app/views/b3/selectWithContent.scala.html | 4 +- .../app/views/b3/selectWithOptions.scala.html | 2 +- .../sample/app/views/b3/my/email.scala.html | 2 +- .../sample/app/views/docs.scala.html | 252 ++++++++-------- .../sample/app/views/extendIt.scala.html | 14 +- .../sample/app/views/horizontal.scala.html | 124 ++++---- .../sample/app/views/index.scala.html | 48 +-- .../sample/app/views/inline.scala.html | 124 ++++---- .../sample/app/views/mixed.scala.html | 68 ++--- .../sample/app/views/multifield.scala.html | 68 ++--- .../sample/app/views/readonly.scala.html | 18 +- .../sample/app/views/vertical.scala.html | 124 ++++---- .../module/app/views/b4/checkbox.scala.html | 2 +- .../module/app/views/b4/form.scala.html | 2 +- .../app/views/b4/radioWithContent.scala.html | 2 +- .../app/views/b4/radioWithOptions.scala.html | 2 +- .../app/views/b4/selectWithContent.scala.html | 4 +- .../app/views/b4/selectWithOptions.scala.html | 2 +- .../sample/app/views/b4/my/email.scala.html | 2 +- .../sample/app/views/docs.scala.html | 280 +++++++++--------- .../sample/app/views/extendIt.scala.html | 16 +- .../sample/app/views/horizontal.scala.html | 140 ++++----- .../sample/app/views/index.scala.html | 48 +-- .../sample/app/views/inline.scala.html | 140 ++++----- .../sample/app/views/mixed.scala.html | 68 ++--- .../sample/app/views/multifield.scala.html | 68 ++--- .../sample/app/views/readonly.scala.html | 18 +- .../sample/app/views/vertical.scala.html | 140 ++++----- 32 files changed, 895 insertions(+), 895 deletions(-) diff --git a/play27-bootstrap3/module/app/views/b3/checkbox.scala.html b/play27-bootstrap3/module/app/views/b3/checkbox.scala.html index f032580..92d3566 100644 --- a/play27-bootstrap3/module/app/views/b3/checkbox.scala.html +++ b/play27-bootstrap3/module/app/views/b3/checkbox.scala.html @@ -8,7 +8,7 @@ val disabled = readonly || bs.ArgsMap.isTrue(argsMap, 'disabled) (argsMap, value, checked, containsReadonly, readonly, disabled) }){ case (argsMap, value, checked, containsReadonly, readonly, disabled) => - @inputFormGroup(field, withFeedback = false, withLabelFor = false, bs.Args.withDefault(args.filterNot(_._1 == 'checked), 'checked -> checked, 'disabled -> disabled)) { fieldInfo => + @inputFormGroup(field, withFeedback = false, withLabelFor = false, bs.Args.withDefault(args.filterNot(_._1 == 'checked), Symbol("checked") -> checked, Symbol("disabled") -> disabled)) { fieldInfo =>