Skip to content

Commit f07911a

Browse files
committed
Remove deprecated Symbol literal for *.scala files via scalafix
cd core-play27/ sbt clean "scalafix dependency:fix.scala213.Core@org.scala-lang:scala-rewrites:0.1.0-SNAPSHOT" cd ../play27-bootstrap3/module/ sbt clean "scalafix dependency:fix.scala213.Core@org.scala-lang:scala-rewrites:0.1.0-SNAPSHOT" cd ../sample/ sbt clean "scalafix dependency:fix.scala213.Core@org.scala-lang:scala-rewrites:0.1.0-SNAPSHOT" cd ../../play27-bootstrap4/module/ sbt clean "scalafix dependency:fix.scala213.Core@org.scala-lang:scala-rewrites:0.1.0-SNAPSHOT" cd ../sample/ sbt clean "scalafix dependency:fix.scala213.Core@org.scala-lang:scala-rewrites:0.1.0-SNAPSHOT" cd ../../
1 parent bc5640a commit f07911a

11 files changed

Lines changed: 62 additions & 62 deletions

File tree

core-play27/app/views/bs/package.scala

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -33,30 +33,30 @@ package object bs {
3333
val argsMap: Map[Symbol, Any] = Args.withoutNones(args).toMap
3434

3535
/* Id of the input */
36-
val id: String = argsMap.get('id).map(_.toString).getOrElse(field.id)
36+
val id: String = argsMap.get(Symbol("id")).map(_.toString).getOrElse(field.id)
3737

3838
/* Id of the form-group */
39-
val idFormField: String = argsMap.get('_id).map(_.toString).getOrElse(id + "_field")
39+
val idFormField: String = argsMap.get(Symbol("_id")).map(_.toString).getOrElse(id + "_field")
4040

4141
/* The optional label */
42-
val labelOpt: Option[Any] = argsMap.get('_label).orElse(argsMap.get('_hiddenLabel))
42+
val labelOpt: Option[Any] = argsMap.get(Symbol("_label")).orElse(argsMap.get(Symbol("_hiddenLabel")))
4343

4444
/* Indicates if the label must be hidden */
45-
val hideLabel: Boolean = isTrue(argsMap, '_hideLabel) || argsMap.contains('_hiddenLabel)
45+
val hideLabel: Boolean = isTrue(argsMap, Symbol("_hideLabel")) || argsMap.contains(Symbol("_hiddenLabel"))
4646

4747
/* Name of the input */
4848
def name: String = field.name
4949

5050
/* Value of the input */
51-
val value: Option[String] = field.value.orElse(argsMap.get('value).map(_.toString))
51+
val value: Option[String] = field.value.orElse(argsMap.get(Symbol("value")).map(_.toString))
5252

5353
/* List with every error and its corresponding ARIA id. Ex: ("foo_error_0" -> "foo error") */
5454
val errors: Seq[(String, Any)] = BSFieldInfo.errors(Some(field), argsMap, msgsProv).zipWithIndex.map {
5555
case (error, i) => (id + "_error_" + i, error)
5656
}
5757

5858
/* Indicates if there is any error */
59-
val hasErrors: Boolean = !errors.isEmpty || ArgsMap.isNotFalse(argsMap, '_error)
59+
val hasErrors: Boolean = !errors.isEmpty || ArgsMap.isNotFalse(argsMap, Symbol("_error"))
6060

6161
/* The optional validation state ("success", "warning" or "error") */
6262
lazy val status: Option[String] = BSFieldInfo.status(hasErrors, argsMap)
@@ -74,30 +74,30 @@ package object bs {
7474

7575
/* List with every error */
7676
def errors(maybeField: Option[Field], argsMap: Map[Symbol, Any], msgsProv: MessagesProvider): Seq[Any] = {
77-
argsMap.get('_error).filter(!_.isInstanceOf[Boolean]).map {
77+
argsMap.get(Symbol("_error")).filter(!_.isInstanceOf[Boolean]).map {
7878
_ match {
7979
case Some(FormError(_, message, args)) => Seq(msgsProv.messages(message, args.map(a => translate(a)(msgsProv)): _*))
8080
case FormError(_, message, args) => Seq(msgsProv.messages(message, args.map(a => translate(a)(msgsProv)): _*))
8181
case message => Seq(translate(message)(msgsProv))
8282
}
8383
}.getOrElse {
84-
maybeField.filter(_ => argsMap.get('_showErrors) != Some(false)).map { field =>
84+
maybeField.filter(_ => argsMap.get(Symbol("_showErrors")) != Some(false)).map { field =>
8585
field.errors.map { e => msgsProv.messages(e.message, e.args.map(a => translate(a)(msgsProv)): _*) }
8686
}.getOrElse(Nil)
8787
}
8888
}
8989

9090
/* List with every "feedback info" except "errors" */
9191
def feedbackInfosButErrors(argsMap: Map[Symbol, Any], msgsProv: MessagesProvider): Seq[Any] = {
92-
argsMap.get('_warning).filter(!_.isInstanceOf[Boolean]).map(m => Seq(translate(m)(msgsProv))).getOrElse(
93-
argsMap.get('_success).filter(!_.isInstanceOf[Boolean]).map(m => Seq(translate(m)(msgsProv))).getOrElse(Nil)
92+
argsMap.get(Symbol("_warning")).filter(!_.isInstanceOf[Boolean]).map(m => Seq(translate(m)(msgsProv))).getOrElse(
93+
argsMap.get(Symbol("_success")).filter(!_.isInstanceOf[Boolean]).map(m => Seq(translate(m)(msgsProv))).getOrElse(Nil)
9494
)
9595
}
9696

9797
/* List with every "help info", i.e. a help text or constraints */
9898
def helpInfos(maybeField: Option[Field], argsMap: Map[Symbol, Any], msgsProv: MessagesProvider): Seq[Any] = {
99-
argsMap.get('_help).map(m => Seq(translate(m)(msgsProv))).getOrElse {
100-
maybeField.filter(_ => argsMap.get('_showConstraints) == Some(true)).map { field =>
99+
argsMap.get(Symbol("_help")).map(m => Seq(translate(m)(msgsProv))).getOrElse {
100+
maybeField.filter(_ => argsMap.get(Symbol("_showConstraints")) == Some(true)).map { field =>
101101
field.constraints.map(c => msgsProv.messages(c._1, c._2.map(a => translate(a)(msgsProv)): _*)) ++ field.format.map(f => msgsProv.messages(f._1, f._2.map(a => translate(a)(msgsProv)): _*))
102102
}.getOrElse(Nil)
103103
}
@@ -107,24 +107,24 @@ package object bs {
107107
def status(hasErrors: Boolean, argsMap: Map[Symbol, Any]): Option[String] = {
108108
if (hasErrors)
109109
Some("error")
110-
else if (ArgsMap.isNotFalse(argsMap, '_warning))
110+
else if (ArgsMap.isNotFalse(argsMap, Symbol("_warning")))
111111
Some("warning")
112-
else if (ArgsMap.isNotFalse(argsMap, '_success))
112+
else if (ArgsMap.isNotFalse(argsMap, Symbol("_success")))
113113
Some("success")
114114
else
115115
None
116116
}
117117

118118
/* Generates automatically the input attributes for the constraints of a field */
119119
def constraintsArgs(field: Field, msgsProv: MessagesProvider): Seq[(Symbol, Any)] = field.constraints.map {
120-
case ("constraint.required", params) => Some(('required -> true))
121-
case ("constraint.min", params: Seq[Any]) => Some(('min -> msgsProv.messages(params.head.toString)))
122-
case ("constraint.max", params: Seq[Any]) => Some(('max -> msgsProv.messages(params.head.toString)))
123-
case ("constraint.minLength", params: Seq[Any]) => Some(('minlength -> msgsProv.messages(params.head.toString)))
124-
case ("constraint.maxLength", params: Seq[Any]) => Some(('maxlength -> msgsProv.messages(params.head.toString)))
120+
case ("constraint.required", params) => Some((Symbol("required") -> true))
121+
case ("constraint.min", params: Seq[Any]) => Some((Symbol("min") -> msgsProv.messages(params.head.toString)))
122+
case ("constraint.max", params: Seq[Any]) => Some((Symbol("max") -> msgsProv.messages(params.head.toString)))
123+
case ("constraint.minLength", params: Seq[Any]) => Some((Symbol("minlength") -> msgsProv.messages(params.head.toString)))
124+
case ("constraint.maxLength", params: Seq[Any]) => Some((Symbol("maxlength") -> msgsProv.messages(params.head.toString)))
125125
case ("constraint.pattern", params: Seq[Any]) => params.head match {
126-
case str: String => Some(('pattern -> msgsProv.messages(str)))
127-
case func: Function0[_] => Some(('pattern -> msgsProv.messages(func.asInstanceOf[() => scala.util.matching.Regex]().toString)))
126+
case str: String => Some((Symbol("pattern") -> msgsProv.messages(str)))
127+
case func: Function0[_] => Some((Symbol("pattern") -> msgsProv.messages(func.asInstanceOf[() => scala.util.matching.Regex]().toString)))
128128
case _ => None
129129
}
130130
case _ => None
@@ -154,7 +154,7 @@ package object bs {
154154
}
155155

156156
/* Indicates if there is any error */
157-
val hasErrors: Boolean = !errors.isEmpty || ArgsMap.isNotFalse(argsMap, '_error)
157+
val hasErrors: Boolean = !errors.isEmpty || ArgsMap.isNotFalse(argsMap, Symbol("_error"))
158158

159159
/* The optional validation state ("success", "warning" or "error") */
160160
lazy val status: Option[String] = BSFieldInfo.status(hasErrors, argsMap)

play27-bootstrap3/module/app/views/b3/clear/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ package object clear {
5555
* *********************************************************************************************************************************
5656
*/
5757
def form(action: Call, args: (Symbol, Any)*)(body: ClearFieldConstructor => Html) = {
58-
val cfc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, '_feedbackIcons))
58+
val cfc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, Symbol("_feedbackIcons")))
5959
views.html.b3.form(action, inner(args): _*)(body(cfc))(cfc)
6060
}
6161
def formCSRF(action: Call, args: (Symbol, Any)*)(body: ClearFieldConstructor => Html)(implicit request: RequestHeader) = {
62-
val cfc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, '_feedbackIcons))
62+
val cfc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, Symbol("_feedbackIcons")))
6363
views.html.b3.formCSRF(action, inner(args): _*)(body(cfc))(cfc, request)
6464
}
6565

play27-bootstrap3/module/app/views/b3/horizontal/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ package object horizontal {
6161
* *********************************************************************************************************************************
6262
*/
6363
def form(action: Call, colLabel: String, colInput: String, args: (Symbol, Any)*)(body: HorizontalFieldConstructor => Html) = {
64-
val hfc = fieldConstructorSpecific(colLabel, colInput, withFeedbackIcons = isTrue(args, '_feedbackIcons))
64+
val hfc = fieldConstructorSpecific(colLabel, colInput, withFeedbackIcons = isTrue(args, Symbol("_feedbackIcons")))
6565
views.html.b3.form(action, inner(args): _*)(body(hfc))(hfc)
6666
}
6767
def formCSRF(action: Call, colLabel: String, colInput: String, args: (Symbol, Any)*)(body: HorizontalFieldConstructor => Html)(implicit request: RequestHeader) = {
68-
val hfc = fieldConstructorSpecific(colLabel, colInput, withFeedbackIcons = isTrue(args, '_feedbackIcons))
68+
val hfc = fieldConstructorSpecific(colLabel, colInput, withFeedbackIcons = isTrue(args, Symbol("_feedbackIcons")))
6969
views.html.b3.formCSRF(action, inner(args): _*)(body(hfc))(hfc, request)
7070
}
7171

play27-bootstrap3/module/app/views/b3/inline/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ package object inline {
5555
* *********************************************************************************************************************************
5656
*/
5757
def form(action: Call, args: (Symbol, Any)*)(body: InlineFieldConstructor => Html) = {
58-
val ifc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, '_feedbackTooltip))
58+
val ifc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, Symbol("_feedbackTooltip")))
5959
views.html.b3.form(action, inner(args): _*)(body(ifc))(ifc)
6060
}
6161
def formCSRF(action: Call, args: (Symbol, Any)*)(body: InlineFieldConstructor => Html)(implicit request: RequestHeader) = {
62-
val ifc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, '_feedbackTooltip))
62+
val ifc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, Symbol("_feedbackTooltip")))
6363
views.html.b3.formCSRF(action, inner(args): _*)(body(ifc))(ifc, request)
6464
}
6565

play27-bootstrap3/module/app/views/b3/package.scala

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ package object b3 {
5454
/* Each boolean indicate if a any of the corresponding feedback icons should be shown */
5555
val (showIconError, showIconWarning, showIconValid) = {
5656
if (!withFeedback) (false, false, false)
57-
else if (hasErrors) (isTrue(argsMap, '_showIconOnError), false, false)
58-
else if (isTrue(argsMap, '_showIconWarning)) (false, true, false)
59-
else (false, false, isTrue(argsMap, '_showIconValid))
57+
else if (hasErrors) (isTrue(argsMap, Symbol("_showIconOnError")), false, false)
58+
else if (isTrue(argsMap, Symbol("_showIconWarning"))) (false, true, false)
59+
else (false, false, isTrue(argsMap, Symbol("_showIconValid")))
6060
}
6161

6262
/* Indicates if any of the previous feedback icons should be shown */
@@ -90,8 +90,8 @@ package object b3 {
9090
(if (hasErrors) Seq(Symbol("aria-invalid") -> "true") else Nil) ++
9191
BSFieldInfo.constraintsArgs(field, msgsProv) ++
9292
Args.inner(
93-
Args.remove(args, 'id, 'value).map {
94-
case arg if arg._1 == 'placeholder => Args.msg(arg)(msgsProv.messages)
93+
Args.remove(args, Symbol("id"), Symbol("value")).map {
94+
case arg if arg._1 == Symbol("placeholder") => Args.msg(arg)(msgsProv.messages)
9595
case other => other
9696
}
9797
)
@@ -106,9 +106,9 @@ package object b3 {
106106
def status(hasErrors: Boolean, argsMap: Map[Symbol, Any]): Option[String] = {
107107
if (hasErrors)
108108
Some("error")
109-
else if (ArgsMap.isNotFalse(argsMap, '_warning) || isTrue(argsMap, '_showIconWarning))
109+
else if (ArgsMap.isNotFalse(argsMap, Symbol("_warning")) || isTrue(argsMap, Symbol("_showIconWarning")))
110110
Some("warning")
111-
else if (ArgsMap.isNotFalse(argsMap, '_success) || isTrue(argsMap, '_showIconValid))
111+
else if (ArgsMap.isNotFalse(argsMap, Symbol("_success")) || isTrue(argsMap, Symbol("_showIconValid")))
112112
Some("success")
113113
else
114114
None
@@ -150,11 +150,11 @@ package object b3 {
150150
override lazy val status: Option[String] = B3FieldInfo.status(hasErrors, argsMap)
151151

152152
/* The optional validation state for the form-group ("has-success", "has-warning", "has-error") with the optional "has-feedback" */
153-
def statusWithFeedback: Option[String] = B3FieldInfo.statusWithFeedback(status, hasFeedback = isTrue(argsMap, '_hasFeedback))
153+
def statusWithFeedback: Option[String] = B3FieldInfo.statusWithFeedback(status, hasFeedback = isTrue(argsMap, Symbol("_hasFeedback")))
154154

155155
override lazy val globalArgs = {
156-
val withoutHelp = Args.remove(globalArguments, '_help)
157-
val withStatus = status.map(s => Args.withDefault(withoutHelp, '_class -> statusWithFeedback)).getOrElse(withoutHelp)
156+
val withoutHelp = Args.remove(globalArguments, Symbol("_help"))
157+
val withStatus = status.map(s => Args.withDefault(withoutHelp, Symbol("_class") -> statusWithFeedback)).getOrElse(withoutHelp)
158158
withStatus
159159
}
160160
}
@@ -213,7 +213,7 @@ package object b3 {
213213
def week(field: Field, args: (Symbol, Any)*)(implicit fc: B3FieldConstructor, msgsProv: MessagesProvider) = inputType("week", field, args: _*)(fc, msgsProv)
214214

215215
def hidden(name: String, value: Any, args: (Symbol, Any)*) = hiddenInput(name, value, args: _*)
216-
def hidden(field: Field, args: (Symbol, Any)*) = hiddenInput(name = field.name, value = field.value.orElse(bs.Args.get(args, 'value)), (bs.Args.inner(bs.Args.remove(args, 'value))): _*)
216+
def hidden(field: Field, args: (Symbol, Any)*) = hiddenInput(name = field.name, value = field.value.orElse(bs.Args.get(args, Symbol("value"))), (bs.Args.inner(bs.Args.remove(args, Symbol("value")))): _*)
217217

218218
def radio(field: Field, args: (Symbol, Any)*)(content: Tuple3[Boolean, Boolean, B3FieldInfo] => Html)(implicit fc: B3FieldConstructor, msgsProv: MessagesProvider) = radioWithContent(field, args: _*)(content)(fc, msgsProv)
219219
def radio(field: Field, options: Seq[(String, Any)], args: (Symbol, Any)*)(implicit fc: B3FieldConstructor, msgsProv: MessagesProvider) = radioWithOptions(field, options, args: _*)(fc, msgsProv)
@@ -226,8 +226,8 @@ package object b3 {
226226
def button(args: (Symbol, Any)*)(text: => Html)(implicit fc: B3FieldConstructor, msgsProv: MessagesProvider) = buttonType("button", args: _*)(text)(fc, msgsProv)
227227

228228
def static(args: (Symbol, Any)*)(text: => Html)(implicit fc: B3FieldConstructor, msgsProv: MessagesProvider) = staticBasic(args: _*)(text)(fc, msgsProv)
229-
def static(label: String, args: (Symbol, Any)*)(text: => Html)(implicit fc: B3FieldConstructor, msgsProv: MessagesProvider) = staticBasic(Args.withDefault(args, '_label -> label): _*)(text)(fc, msgsProv)
230-
def static(label: Html, args: (Symbol, Any)*)(text: => Html)(implicit fc: B3FieldConstructor, msgsProv: MessagesProvider) = staticBasic(Args.withDefault(args, '_label -> label): _*)(text)(fc, msgsProv)
229+
def static(label: String, args: (Symbol, Any)*)(text: => Html)(implicit fc: B3FieldConstructor, msgsProv: MessagesProvider) = staticBasic(Args.withDefault(args, Symbol("_label") -> label): _*)(text)(fc, msgsProv)
230+
def static(label: Html, args: (Symbol, Any)*)(text: => Html)(implicit fc: B3FieldConstructor, msgsProv: MessagesProvider) = staticBasic(Args.withDefault(args, Symbol("_label") -> label): _*)(text)(fc, msgsProv)
231231

232232
def free(args: (Symbol, Any)*)(content: => Html)(implicit fc: B3FieldConstructor, msgsProv: MessagesProvider) = freeFormGroup(args)(_ => content)(fc, msgsProv)
233233
}

play27-bootstrap3/module/app/views/b3/vertical/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ package object vertical {
5555
* *********************************************************************************************************************************
5656
*/
5757
def form(action: Call, args: (Symbol, Any)*)(body: VerticalFieldConstructor => Html) = {
58-
val vfc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, '_feedbackIcons))
58+
val vfc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, Symbol("_feedbackIcons")))
5959
views.html.b3.form(action, args: _*)(body(vfc))(vfc)
6060
}
6161
def formCSRF(action: Call, args: (Symbol, Any)*)(body: VerticalFieldConstructor => Html)(implicit request: RequestHeader) = {
62-
val vfc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, '_feedbackIcons))
62+
val vfc = fieldConstructorSpecific(withFeedbackIcons = isTrue(args, Symbol("_feedbackIcons")))
6363
views.html.b3.formCSRF(action, args: _*)(body(vfc))(vfc, request)
6464
}
6565

play27-bootstrap4/module/app/views/b4/clear/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ package object clear {
5555
* *********************************************************************************************************************************
5656
*/
5757
def form(action: Call, args: (Symbol, Any)*)(body: ClearFieldConstructor => Html) = {
58-
val cfc = fieldConstructorSpecific(isCustom = isTrue(args, '_custom), withFeedbackTooltip = isTrue(args, '_feedbackTooltip))
58+
val cfc = fieldConstructorSpecific(isCustom = isTrue(args, Symbol("_custom")), withFeedbackTooltip = isTrue(args, Symbol("_feedbackTooltip")))
5959
views.html.b4.form(action, inner(args): _*)(body(cfc))(cfc)
6060
}
6161
def formCSRF(action: Call, args: (Symbol, Any)*)(body: ClearFieldConstructor => Html)(implicit request: RequestHeader) = {
62-
val cfc = fieldConstructorSpecific(isCustom = isTrue(args, '_custom), withFeedbackTooltip = isTrue(args, '_feedbackTooltip))
62+
val cfc = fieldConstructorSpecific(isCustom = isTrue(args, Symbol("_custom")), withFeedbackTooltip = isTrue(args, Symbol("_feedbackTooltip")))
6363
views.html.b4.formCSRF(action, inner(args): _*)(body(cfc))(cfc, request)
6464
}
6565

play27-bootstrap4/module/app/views/b4/horizontal/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ package object horizontal {
5858
* *********************************************************************************************************************************
5959
*/
6060
def form(action: Call, colLabel: String, colInput: String, args: (Symbol, Any)*)(body: HorizontalFieldConstructor => Html) = {
61-
val hfc = fieldConstructorSpecific(colLabel, colInput, isCustom = isTrue(args, '_custom), withFeedbackTooltip = isTrue(args, '_feedbackTooltip))
61+
val hfc = fieldConstructorSpecific(colLabel, colInput, isCustom = isTrue(args, Symbol("_custom")), withFeedbackTooltip = isTrue(args, Symbol("_feedbackTooltip")))
6262
views.html.b4.form(action, inner(args): _*)(body(hfc))(hfc)
6363
}
6464
def formCSRF(action: Call, colLabel: String, colInput: String, args: (Symbol, Any)*)(body: HorizontalFieldConstructor => Html)(implicit request: RequestHeader) = {
65-
val hfc = fieldConstructorSpecific(colLabel, colInput, isCustom = isTrue(args, '_custom), withFeedbackTooltip = isTrue(args, '_feedbackTooltip))
65+
val hfc = fieldConstructorSpecific(colLabel, colInput, isCustom = isTrue(args, Symbol("_custom")), withFeedbackTooltip = isTrue(args, Symbol("_feedbackTooltip")))
6666
views.html.b4.formCSRF(action, inner(args): _*)(body(hfc))(hfc, request)
6767
}
6868

play27-bootstrap4/module/app/views/b4/inline/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ package object inline {
5555
* *********************************************************************************************************************************
5656
*/
5757
def form(action: Call, args: (Symbol, Any)*)(body: InlineFieldConstructor => Html) = {
58-
val ifc = fieldConstructorSpecific(isCustom = isTrue(args, '_custom), withFeedbackTooltip = isTrue(args, '_feedbackTooltip))
58+
val ifc = fieldConstructorSpecific(isCustom = isTrue(args, Symbol("_custom")), withFeedbackTooltip = isTrue(args, Symbol("_feedbackTooltip")))
5959
views.html.b4.form(action, inner(args): _*)(body(ifc))(ifc)
6060
}
6161
def formCSRF(action: Call, args: (Symbol, Any)*)(body: InlineFieldConstructor => Html)(implicit request: RequestHeader) = {
62-
val ifc = fieldConstructorSpecific(isCustom = isTrue(args, '_custom), withFeedbackTooltip = isTrue(args, '_feedbackTooltip))
62+
val ifc = fieldConstructorSpecific(isCustom = isTrue(args, Symbol("_custom")), withFeedbackTooltip = isTrue(args, Symbol("_feedbackTooltip")))
6363
views.html.b4.formCSRF(action, inner(args): _*)(body(ifc))(ifc, request)
6464
}
6565

0 commit comments

Comments
 (0)