Skip to content

Commit

Permalink
Fix login page HTML
Browse files Browse the repository at this point in the history
got split incorrectly at some point
  • Loading branch information
murrant committed Sep 14, 2023
1 parent 03c4da6 commit 545a58c
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions resources/views/auth/login-form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,17 @@
<button type="submit" id="login" class="btn btn-primary btn-block" name="submit">
<i class="fa fa-btn fa-sign-in"></i> {{ __('Login') }}
</button>
</form>

@foreach (\LibreNMS\Config::get('auth.socialite.configs', []) as $provider => $config)
<br>
<form role="form" action="{{ route('socialite.redirect', $provider) }}" method="post">
{{ csrf_field() }}
<button type="submit" id="login" class="btn btn-success btn-block">
<i class="fab fa-btn fa-{{ $provider }}"></i> {{ __('Login with') }} {{ ucfirst($provider) }}
</button>
</form>
@endforeach
</div>
</div>
</form>

@foreach (\LibreNMS\Config::get('auth.socialite.configs', []) as $provider => $config)
<form role="form" action="{{ route('socialite.redirect', $provider) }}" method="post" class="tw-mt-5">
{{ csrf_field() }}
<button type="submit" id="login" class="btn btn-success btn-block">
<i class="fab fa-btn fa-{{ $provider }}"></i> {{ __('Login with') }} {{ ucfirst($provider) }}
</button>
</form>
@endforeach
</div>
</x-panel>

0 comments on commit 545a58c

Please sign in to comment.