fixed after and before options for inputs
fixed rules for texts after and before of inputs