%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>', {:class => "input-group-text"}
= text_field model, :<Model Attribute>, {:class => "form-control", :placeholder => "<Natural Statement of attribute>", :disabled => false}.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], {:class => "alert-danger input-group-text"}