<div class="row">
    <x-title>
        Add Institution
    </x-title>

    <div class="col-12 col-md-4"></div>
    <div class="col-12 col-md-4">
        <div class="card">
            <div class="card-body">
                <form method="POST" wire:submit.prevent="saveInstitution">
                    <x-ui.input name="display_name" label="Display Name"/>

                    <div class="row">
                        <div class="col-md-6">
                            <x-ui.select :options="$institution_types" label="Institution Type" name="institution_type_id"/>
                        </div>
                        <div class="col-md-6">
                            <x-ui.select :options="$dsar_types" label="DSAR Type" name="dsar_type_id"/>
                        </div>
                    </div>

                    <x-ui.select :options="['email' => 'Email', 'post' => 'Post']" label="DSAR Send Type" name="send_type"/>

                    <button class="btn btn-success">
                        Save
                    </button>
                </form>
            </div>
        </div>
    </div>
</div>
