GrafiteInc/CMS

View on GitHub
src/PublishedAssets/Setup/resources/views/user/meta.blade.php

Summary

Maintainability
A
0 mins
Test Coverage

    <div class="mt-3">
        @input_maker_label('Phone')
        @input_maker_create('meta[phone]', ['type' => 'string', 'placeholder' => 'Phone'], $user)
    </div>

    <div class="mt-3">
        @input_maker_create('meta[marketing]', ['type' => 'checkbox', 'class' => 'form-check-inline'], $user)
        @input_maker_label('I agree to recieve marketing materials')
    </div>

    <div class="mt-3">
        <input type="checkbox" name="meta[terms_and_cond]" class="form-check-inline" value="1" @if ($user->meta->terms_and_cond) checked @endif>
        <label>I agree to the <a href="{{ url('terms-and-conditions') }}">Terms &amp; Conditions</a></label>
    </div>