Replaced duplicate code within List#form with partial