[Security] Team section should not display opportunities current user is not allowed to see...
Fixes interpolation error in Opportunities section

:sort_by does not require %{model} anymore...
Merge pull request #343 from yeah/master

[Security] Team section should not display opportunities current user is not allowed to see...
Supply datepicker options in crm.flip_calendar

In datepicker.js.coffee we make sure that all datepicker inputs are invoked with the same options.  However, the datepicker on the task form is not enabled by default and is brought into existence separately by crm.flip_calendar.  This means it doesn't use the 'yy-mm-dd' format and so the wrong dates are set on the task (or completely incorrect dates blocking the creation / editting of the task entirely).

The solution is to use the same options for the datepicker call in crm.flip_calendar as we do in datepicker.js.coffee.

This fixes #328.
Merge pull request #345 from unboxed/provide-default-options-to-datepicker-used-in-task-form

Supply datepicker options in crm.flip_calendar