% @vars = @i18n_variables.inject([]) do |result, var| result << var if var.parent_id.to_s.eql?(user_role_model.id.to_s) result end %>