[fix]
This commit is contained in:
@@ -29,7 +29,7 @@ class RegisterUsersFromExcelView(APIView):
|
||||
)
|
||||
|
||||
excel_file = request.FILES.get("excel_file")
|
||||
if not excel_file:
|
||||
if excel_file is None:
|
||||
return Response(
|
||||
{"error": "No Excel file provided"},
|
||||
status=status.HTTP_400_BAD_REQUEST,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { Button } from "./ui/button";
|
||||
import { buttonVariants } from "./ui/button";
|
||||
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
CardHeader,
|
||||
CardTitle,
|
||||
} from "../components/ui/card";
|
||||
import { Facebook, Instagram, Linkedin, Github } from "lucide-react";
|
||||
import { Github } from "lucide-react";
|
||||
|
||||
interface TeamProps {
|
||||
imageUrl: string;
|
||||
@@ -25,7 +25,7 @@ const teamList: TeamProps[] = [
|
||||
{
|
||||
imageUrl: "https://raw.githubusercontent.com/devitq/devitq/main/logo.png",
|
||||
name: "ITQ",
|
||||
position: "Backend & Frontend Developer",
|
||||
position: "Backend & Frontend Developer & Dev OPS",
|
||||
socialNetworks: [
|
||||
{ name: "GitHub", url: "https://github.com/devitq" },
|
||||
],
|
||||
|
||||
@@ -17,12 +17,12 @@ const Main = () => {
|
||||
<div className={less["general-left"]}>
|
||||
<form className={less["input-form"]} onSubmit={(event) => submitRegister(event, navigate)}>
|
||||
<h1 className={less["title-form"]}>{t("entrance")}</h1>
|
||||
<Input type="text" name="first_name" placeholder="First name" />
|
||||
<Input type="text" name="last_name" placeholder="Last name" />
|
||||
<Input type="date" name="birth_date" placeholder="Date" />
|
||||
<Input type="email" name="email" placeholder="Email" />
|
||||
<Input type="text" name="first_name" placeholder="First name" className="mb-4" />
|
||||
<Input type="text" name="last_name" placeholder="Last name" className="mb-4" />
|
||||
<Input type="date" name="birth_date" placeholder="Date" className="mb-4" />
|
||||
<Input type="email" name="email" placeholder="Email" className="mb-4" />
|
||||
|
||||
<Textarea name="about" placeholder="About" />
|
||||
<Textarea name="about" placeholder="About" className="mb-4" />
|
||||
|
||||
<Button>{t("buttonLoginInSystem")}</Button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user