<%= text_field_tag 'settings[sample_setting]', @settings['sample_setting'] %>

<%= text_field_tag 'settings[foo]', @settings['foo'] %>