<commit_before>{{ set . "title" "My Account" }}
{{ template "header.html" . }}

<div class="container">
  <div class="row">
      {{ template "sidebar.html" . }}
    <div class="col-sm-10">
      <h3>Account Settings</h3>
      <br/>
      {{ if .flash.error }}
      <div class="alert alert-danger">
        <p>{{ .flash.error }}</p>
      </div>
      {{ end }}
      <ul class="nav nav-tabs">
        <li class="active"><a data-toggle="tab" href="#general">
            <i class="fa fa-cogs"></i>
            General
        </a></li>
        <li><a data-toggle="tab" href="#identity">
            <i class="fa fa-map-marker"></i>
            Identity
        </a></li>
        <li><a data-toggle="tab" href="#subscription">
            <i class="fa fa-group"></i>
            Subscriptions
        </a></li>
        <li><a data-toggle="tab" href="#billing">
            <i class="fa fa-credit-card"></i>
            Billing and Plan
        </a></li>
      </ul>
      <div class="tab-content">
        <div class="tab-pane active" id="general">
          <h5>General Settings</h5>
          <form class="form-horizontal" role="form" method="post" action="/account">
            <div class="form-group">
              <label for="inputName" class="col-sm-2 control-label">Full Name</label>
              <div class="col-sm-10">
                <input type="text" name="name" id="inputName" class="form-control" value="{{ .user.Name }}">
              </div>
            </div>
            <div class="form-group">
              <label for="inputUsername" class="col-sm-2 control-label">Username</label>
              <div class="col-sm-10">
                <input type="text" name="username" id="inputUsername" class="form-control" value="{{ .user.Username }}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-2 control-label">Change Password</label>
              <div class="col-sm-5">
                <input type="password" name="password1" class="form-control" placeholder="<PASSWORD>">
              </div>
              <div class="col-sm-5">
                <input type="password" name="password2" class="form-control" placeholder="<PASSWORD>">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-2 control-label">Current Password</label>
              <div class="col-sm-10">
                <input type="password" name="password" class="form-control">
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-10 col-sm-offset-2">
                <button type="submit" class="btn btn-primary">Save</button>
              </div>
            </div>
          </form>
        </div>
        <div class="tab-pane" id="identity">
          <h5>Identity and Addresses</h5>
          <p><a class="btn btn-xs btn-default" href="#"><i class="fa fa-plus"></i> Create New Identity</a></p>
          <p><a class="btn btn-xs btn-default" href="#"><i class="fa fa-plus"></i> Purchase Secure Identity</a></p>
          <table class="table table-striped">
            <thead>
              <tr>
                <th>Identity</th>
                <th>Address</th>
                <th>Actions</th>
              </tr>
            </thead>
            <tbody>
              {{ range .identities }}
              <tr>
                <td><i>{{ .Alias }}@<EMAIL></i></td>
                <td>{{ .Fingerprint }}</td>
                <td>
                  <form method="post" action="/account/identity/{{ .IdentityId }}/register"><commit_msg>Styled Purchase Button<commit_after>{{ set . "title" "My Account" }}
{{ template "header.html" . }}

<div class="container">
  <div class="row">
      {{ template "sidebar.html" . }}
    <div class="col-sm-10">
      <h3>Account Settings</h3>
      <br/>
      {{ if .flash.error }}
      <div class="alert alert-danger">
        <p>{{ .flash.error }}</p>
      </div>
      {{ end }}
      <ul class="nav nav-tabs">
        <li class="active"><a data-toggle="tab" href="#general">
            <i class="fa fa-cogs"></i>
            General
        </a></li>
        <li><a data-toggle="tab" href="#identity">
            <i class="fa fa-map-marker"></i>
            Identity
        </a></li>
        <li><a data-toggle="tab" href="#subscription">
            <i class="fa fa-group"></i>
            Subscriptions
        </a></li>
        <li><a data-toggle="tab" href="#billing">
            <i class="fa fa-credit-card"></i>
            Billing and Plan
        </a></li>
      </ul>
      <div class="tab-content">
        <div class="tab-pane active" id="general">
          <h5>General Settings</h5>
          <form class="form-horizontal" role="form" method="post" action="/account">
            <div class="form-group">
              <label for="inputName" class="col-sm-2 control-label">Full Name</label>
              <div class="col-sm-10">
                <input type="text" name="name" id="inputName" class="form-control" value="{{ .user.Name }}">
              </div>
            </div>
            <div class="form-group">
              <label for="inputUsername" class="col-sm-2 control-label">Username</label>
              <div class="col-sm-10">
                <input type="text" name="username" id="inputUsername" class="form-control" value="{{ .user.Username }}">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-2 control-label">Change Password</label>
              <div class="col-sm-5">
                <input type="password" name="password1" class="form-control" placeholder="<PASSWORD>">
              </div>
              <div class="col-sm-5">
                <input type="password" name="password2" class="form-control" placeholder="Confirm New Password">
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-2 control-label">Current Password</label>
              <div class="col-sm-10">
                <input type="password" name="password" class="form-control">
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-10 col-sm-offset-2">
                <button type="submit" class="btn btn-primary">Save</button>
              </div>
            </div>
          </form>
        </div>
        <div class="tab-pane" id="identity">
          <h5>Identity and Addresses</h5>
          <p class="pull-right"><a class="btn btn-xs btn-danger" href="#" disabled><i class="fa fa-lock"></i> Purchase Secure Identity</a></p>
          <p><a class="btn btn-xs btn-default" href="#" disabled><i class="fa fa-plus"></i> Create New Identity</a></p>
          <table class="table table-striped">
            <thead>
              <tr>
                <th>Identity</th>
                <th>Address</th>
                <th>Actions</th>
              </tr>
            </thead>
            <tbody>
              {{ range .identities }}
              <tr>
                <td><i>{{ .Alias }}@<EMAIL></i></td>
                <td>{{ .Fingerprint }}</td>
                <td>
                  <form method="post" action="/account/identity/{{ .IdentityId }}/register">
{'fraction_non_alphanumeric': 0.18401870444230506, 'fraction_numerical': 0.006876633200385091, 'mean_word_length': 1.698330241187384, 'pattern_counts': {'":': 0, '<': 240, '<?xml version=': 0, '>': 240, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1531998', 'n_tokens_mistral': 2165, 'n_tokens_neox': 2102, 'n_words': 440}