fix mistake in template code

In #7, I tested using a RoR extension for `String#blank?` which is not committed into this repository.  Instead of adding that unnecessary dependency, I have changed the call to `String#empty?` which is native to Ruby.  We can assume that it is never `nil` because we set it to a default.