<?php $title = 'Create Photo Album'; ?>
<div class="d-sm-flex align-items-center justify-content-between mb-4">
    <h1 class="h3 mb-0 text-white font-weight-bold"><i class="fas fa-plus mr-2"></i>Create Photo Album</h1>
</div>
<div class="glass-card">
    <form method="POST" action="<?= $baseUrl ?>/photos/store-album">
        <div class="form-group">
            <label style="color: rgba(255,255,255,0.7);">Title</label>
            <input type="text" name="title" class="form-control glass-input" required>
        </div>
        <div class="form-group">
            <label style="color: rgba(255,255,255,0.7);">Description</label>
            <textarea name="description" class="form-control glass-input" rows="3"></textarea>
        </div>
        <div class="custom-control custom-checkbox mb-3">
            <input type="checkbox" class="custom-control-input" id="is_public" name="is_public" value="1" checked>
            <label class="custom-control-label" for="is_public" style="color: rgba(255,255,255,0.7);">Make this album public</label>
        </div>
        <div class="text-right">
            <a href="<?= $baseUrl ?>/photos" class="glass-btn mr-2">Cancel</a>
            <button type="submit" class="glass-btn glass-btn-primary">Create</button>
        </div>
    </form>
</div>
