Fix : attr was crushed in data_pattern|replace

In the concatenation line 112|113|114 attr was not transmitted to the form_widget function.