Is it possible to customize the CSS for Scala Helpers and remove certain text from the textfield?
https://i.sstatic.net/eG6HY.png
@inputText(advForm("weeknr"))
@inputText(advForm("jaar"))
@inputText(advForm("datum"))
--------------------EDIT 1------------------
After applying my own CSS, I noticed that the error warnings no longer appear when submitting an empty form. The text used to turn red in such cases. Here are the code changes:
MyPlainFieldConstructor.scala.html (only consists of 2 lines of code):
@(elements: helper.FieldElements)
@elements.input
In advPlaatsen2.scala.html:
I added the following line of code:
@implicitField = @{ FieldConstructor(myPlainFieldConstructor.f) }
and this is how I implemented the CSS using Foundation 5:
<div class="row collapse">
<div class="small-2 columns">
<span class="prefix">Email</span>
</div>
<div class="small-4 left columns">
@inputText(advForm("email"),
'id -> "right-label",
'placeholder -> "")
</div>
</div>
Although the forms now look as desired, they do not display errors or upload files.
https://i.sstatic.net/e1n4F.png
However, upon removing this line of code (located above the @import helper._)
@implicitField = @{ FieldConstructor(myPlainFieldConstructor.f) }
The form functions correctly but looks unappealing: