Sylius/Sylius — pull request #347 by Richtermeister (2013-09-25 00:24:31+00:00)
Title: Fix Shipping Method Calculator form prototype handling

Currently, switching the calculator field in the ShippingMethodType embeds calculator config prototypes under __name__ key, which causes the form to not validate (extra field error).

This commit makes the following changes:

* use the proper field name (configuration)
* skip embedding forms for calculators that don't support configuration (currently results in empty text field being embedded)