%div.input-group
- value = {}
- if flash[:info] and flash[:info]["<Model Attribute>"]
- value = {:value => flash[:info]["<Model Attribute>"]}
= label_tag <Model>.to_s+'_<Model Attribute>', '<Natural Statement of attribute>', <Options for ActionView Helper>
= <Helper Method> <Model>, :<Model Attribute>, <Options for ActionView Helper>.merge(value)
- if (flash[:<Controller Action>] and flash[:<Controller Action>]["<Model Attribute>"])
= label_tag <Model>.to_s + '_<Model Attribute>', flash[:<Controller Action>]["<Model Attribute>"][0], <Options for ActionView Helper>