1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

disabled ability to create space availabilities if no spaces

This commit is contained in:
Sylvain 2017-02-16 12:06:44 +01:00
parent e7d18eac81
commit 8343c1503d

View File

@ -20,7 +20,7 @@
</div>
<div class="radio" ng-hide="fablabWithoutSpaces">
<label>
<input type="radio" id="space" name="available_type" value="space" ng-model="availability.available_type">
<input type="radio" id="space" name="available_type" value="space" ng-model="availability.available_type" ng-disabled="spaces.length === 0">
<span translate>{{ 'admin_calendar.space' }}</span>
</label>
</div>