Implement UI for editing resources and their limits

Note: the limit is not converted to an int yet (and not validated either)