Other than aesthetics, is there much benefit for using a named span vs readonly inputs?
example, say I want to display the value of @{foobar_total}
normally I would use just use the readonly input wherever I wanted to display the total.
<input type="number" name="attr_foobar_total" value="0" readonly />
vs a hidden input and span
<input type="hidden" name="attr_foobar_total" value="0" />
<span name="attr_foobar_total"></span>
then simply copying the span wherever needed for display.
I'm leaning toward it being primarily an aesthetics/css benefit, but I'm curious to hear someone else's opinion. Thanks