Spaces:
Sleeping
Sleeping
| {% macro auth_form(title, form_action, bottom_link_url, bottom_link_text) %} | |
| <div class="container"> | |
| <h1>{{ title }}</h1> | |
| <form method="post" action="{{ form_action }}"> | |
| <div class="form-group"> | |
| <label for="username">์ฌ์ฉ์ ์ด๋ฆ</label> | |
| <input type="text" id="username" name="username" required> | |
| </div> | |
| <div class="form-group"> | |
| <label for="password">๋น๋ฐ๋ฒํธ</label> | |
| <input type="password" id="password" name="password" required> | |
| </div> | |
| <button type="submit">{{ title }}</button> | |
| </form> | |
| <p>{{ bottom_link_text }} <a href="{{ bottom_link_url }}">{{ '๋ก๊ทธ์ธ' if 'signup' in bottom_link_url else 'ํ์๊ฐ์ ' }}</a></p> | |
| </div> | |
| {% endmacro %} | |
| {% macro recommendation_tabs(acceptance_content, diversion_content, container_id) %} | |
| <div class="rec-tabs"> | |
| <button class="rec-tab-btn active" data-tab="{{ container_id }}-acceptance">์์ฉ</button> | |
| <button class="rec-tab-btn" data-tab="{{ container_id }}-diversion">์ ํ</button> | |
| </div> | |
| <div id="{{ container_id }}-acceptance" class="rec-content active"> | |
| {{ acceptance_content | safe }} | |
| </div> | |
| <div id="{{ container_id }}-diversion" class="rec-content"> | |
| {{ diversion_content | safe }} | |
| </div> | |
| {% endmacro %} | |