aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/routes/users/Edit.tsx
blob: fa2a826512b8d0d59eae72eb6aa3e299171b20ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { Form, Link } from "react-router-dom";

export default function Edit() {
  return (
    <div>
      <h1>Albatross.swift</h1>
      <h2>
        User Edit
      </h2>
      <Form method="post">
        <label>Display name</label>
        <input type="text" name="display_name" />
        <label>Icon</label>
        <input type="text" name="icon" disabled />
        <button type="submit">Save</button>
      </Form>
      <p>
        <Link to="/teams/new/">Create a new team</Link>
      </p>
    </div>
  );
};