Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Add role="none" to presentation tables
Browse files Browse the repository at this point in the history
  • Loading branch information
dac514 committed Apr 12, 2019
1 parent caa1113 commit 1fa0750
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions templates/book/settings.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</p>
<form method="POST" action="{{ $form_url }}" method="post">
{!! wp_nonce_field( 'pb-lti-provider-book' ) !!}
<table class="form-table">
<table class="form-table" role="none">
@foreach ([
'admin_default' => __('Map Administrator to the following Pressbooks role', 'pressbooks-lti-provider'),
'staff_default' => __('Map Staff to the following Pressbooks role', 'pressbooks-lti-provider'),
Expand All @@ -26,7 +26,7 @@
</tr>
@endforeach
</table>
<table class="form-table">
<table class="form-table" role="none">
<tr>
<th>{{ __('Appearance', 'pressbooks-lti-provider') }}</th>
<td>
Expand All @@ -42,7 +42,7 @@
<p>
<em>{{ __("Export books as Common Cartridge files with LTI links.", 'pressbooks-lti-provider') }}</em>
</p>
<table class="form-table">
<table class="form-table" role="none">
<tr>
<th>{{ __('Version', 'pressbooks-lti-provider') }}</th>
<td>
Expand Down
2 changes: 1 addition & 1 deletion templates/network/consumer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<form method="POST" action="{{ $form_url }}" method="post">
{!! wp_nonce_field( 'pb-lti-provider' ) !!}
<input type="hidden" name="ID" value="{{ $options['ID'] }}"/>
<table class="form-table">
<table class="form-table" role="none">
<tr>
<th><label for="name">{{ __('Name', 'pressbooks-lti-provider') }}</label></th>
<td><input name="name" id="name" type="text" value="{{ $options['name'] }}" class="regular-text" required/></td>
Expand Down
10 changes: 5 additions & 5 deletions templates/network/settings.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<hr class="wp-header-end">
<form method="POST" action="{{ $form_url }}" method="post">
{!! wp_nonce_field( 'pb-lti-provider' ) !!}
<table class="form-table">
<table class="form-table" role="none">
<tr>
<th><label for="whitelist">{{ __('LTI2 Registration Whitelist', 'pressbooks-lti-provider') }}</label></th>
<td>
Expand All @@ -18,7 +18,7 @@
<p>
<em>{{ __("Pressbooks will try to match the LTI User with their email. If, however, a matching Pressbooks user is not found then:", 'pressbooks-lti-provider') }}</em>
</p>
<table class="form-table">
<table class="form-table" role="none">
<tr>
<th>{{ __('Allow books to override role-mapping and Common Cartridge defaults', 'pressbooks-lti-provider') }}</th>
<td>
Expand All @@ -30,7 +30,7 @@
</td>
</tr>
</table>
<table class="form-table">
<table class="form-table" role="none">
@foreach ([
'admin_default' => __('Map Administrator to the following Pressbooks role', 'pressbooks-lti-provider'),
'staff_default' => __('Map Staff to the following Pressbooks role', 'pressbooks-lti-provider'),
Expand All @@ -50,7 +50,7 @@
</tr>
@endforeach
</table>
<table class="form-table">
<table class="form-table" role="none">
<tr>
<th>{{ __('Appearance', 'pressbooks-lti-provider') }}</th>
<td>
Expand All @@ -66,7 +66,7 @@
<p>
<em>{{ __("Export books as Common Cartridge files with LTI links.", 'pressbooks-lti-provider') }}</em>
</p>
<table class="form-table">
<table class="form-table" role="none">
<tr>
<th>{{ __('Version', 'pressbooks-lti-provider') }}</th>
<td>
Expand Down

0 comments on commit 1fa0750

Please sign in to comment.