zsanzharko / activity-monitoring-sdu

Monitoring tasks for developers
2 stars 0 forks source link

Log In form doesn't work #4

Closed zsanzharko closed 2 years ago

zsanzharko commented 2 years ago

Problem with css

In this case I changed form, to work. Because there were problems with sending data from the form.

Your adding code

 <div class="input_div">
      <input type="text" placeholder="Enter User ID" id="input_fields">
      <input type="password" placeholder="Enter Password" id="input_fields">
</div> 
<button id="log_button">Log in</button>

Code Now

        <form action="#" th:action="@{/login}" method="post" th:object="${form}">
            <div class="input_div">
                <label for="email">
                    <input type="text" th:value="*{email}"
                           th:field="*{email}"
                           placeholder="Enter email" id="email">
                </label>

<!--                fixme class class="input_fields"> doesn't work correct-->
                <label for="password">
                    <input type="password" th:value="*{password}"
                           th:field="*{password}"
                           placeholder="Enter password" id="password">
                </label>

            </div>
            <button type="submit" value="Submit">Log in</button>
        </form>

Maybe problem with css style

@Scarlet3101

zsanzharko commented 2 years ago

@Scarlet3101 Создай отдельную ветку от меня, и сделай свою часть (auth-dev)

zsanzharko commented 2 years ago

@Scarlet3101 Я сделал коммит, теперь можешь отходить от ветки

zsanzharko commented 2 years ago

@Scarlet3101 Доброе утро! Смотри в чем проблема. ТЫ сейчас залил в Main, я от туда никак не смогу вытащить файлы, чтобы ты был за него отвечающим. Типа я перекомитну. Тем более ты не туда его положил.