Having trouble writing the right view to generate the desire

So patient_number is an attribute of the patient that owns the claim,
not an attribute of the claim itself.

I think it's your use of the :index option that is giving you the
current output instead of the second variant. For the third variant,
just use text_field_tag.


Both suggestions did exactly what you said. Thank you.