@(systemSettings: service.SystemSettingsService.SystemSettings)(implicit context: app.Context)
@import context._
<table class="table table-bordered">
  <tr>
    <th class="metal">Sign in</th>
  </tr>
  <tr>
    <td>
      <form action="@path/signin" method="POST" validate="true">
        <label for="userName">Username</label>
        <input type="text" name="userName" id="userName" style="width: 95%"/>
        <span id="error-userName" class="error"></span>
        <label for="password">Password</label>
        <input type="password" name="password" id="password" style="width: 95%"/>
        <span id="error-password" class="error"></span>
        <div>
          <input type="submit" class="btn btn-success" value="Sign in"/>
          @if(systemSettings.allowAccountRegistration){
            <a href="@path/register" class="btn">Create new account</a>
          }
        </div>
      </form>
    </td>
  </tr>
</table>
@(systemSettings: service.SystemSettingsService.SystemSettings)(implicit context: app.Context)
@import context._
<table class="table table-bordered">
  <tr>
    <th class="metal">Sign in</th>
  </tr>
  <tr>
    <td>
      <form action="@path/signin" method="POST" validate="true">
        <label for="userName">Username</label>
        <span id="error-userName" class="error"></span>
        <input type="text" name="userName" id="userName" style="width: 95%"/>
        <label for="password">Password</label>
        <span id="error-password" class="error"></span>
        <input type="password" name="password" id="password" style="width: 95%"/>
        <div>
          <input type="submit" class="btn btn-success" value="Sign in"/>
          @if(systemSettings.allowAccountRegistration){
            <a href="@path/register" class="btn">Create new account</a>
          }
        </div>
      </form>
    </td>
  </tr>
</table>
Adjust error message positions of sign-in form.
Adjust error message positions of sign-in form.
