<div class="intro">
  <div class="infobox">
    <p>
      Applying changes may cause the table to become temporarily unavailable.
    </p>
  </div>
  <form class="reconfigure-form">
    <div>
      <input class="shards inline-edit"
             value="{{num_shards}}"></input>
      <span class="caption">shards</span>
      <div class="max caption">
        max: {{max_num_shards}}
      </div>
    </div>
    <div>
      <input class="replicas inline-edit"
             value="{{num_replicas_per_shard}}"></input>
      <span class="caption">replicas per shard</span>
      <div class="max caption">
        max: {{num_default_servers}}
      </div>
    </div>
  </form>
</div>
<div class="expandbox">
  <div class="alert error alert-error">
    <p class="error zero-shards">
      Each table must have at least one shard.
    </p>
    <p class="error no-shards">
      The number of shards is not set.
    </p>
    <p class="error zero-replicas">
      Each table must have at least one replica per shard.
    </p>
    <p class="error no-replicas">
      The number of replicas per shard is not set.
    </p>
    <p class="error too-many-shards">
      A table may not have more shards than there are servers. Currently
      you have {{num_default_servers}} servers available for this table.
    </p>
    <p class="error too-many-shards-hard-limit">
      A table may not have more than {{max_shards}} shards.
    </p>
    <p class="error not-enough-defaults-shard">
      While you have enough servers for this many shards, not enough of
      them have the "default" tag.  You can manage server tags through
      the table "rethinkdb.server_config".
    </p>
    <p class="error not-enough-defaults-replica">
      While you have enough servers for this many replicas, not enough
      of them have the "default" tag. You can manage server tags through
      the table "rethinkdb.server_config".
    </p>
    <p class="error too-many-replicas">
      A table may not have more replicas per shard than there are
      servers. Currently you have {{num_default_servers}} servers
      available for this table.
    </p>
    <p class="error server-error">
      The server returned the following error:
      <span class="server-msg">
        {{server_error}}
      </span>
    </p>
  </div>
  <a href="#" class="expand-tree">Where's my data going?</a>
  <div class='reconfigure-diff tree-view'></div>
</div>
