A Razor UI component for the spawn menu footer. It renders a single button labelled "New Spawnlist" that is disabled when CanCreate() returns false and calls CreatePopup on click.
@using Sandbox; @using Sandbox.UI; @using Sandbox.Mounting; @inherits Panel @namespace Sandbox <root> <Button class="menu-action primary wide" Icon="➕" Text="New Spawnlist" Disabled=@( !CanCreate() ) @onclick=@CreatePopup></Button> </root>