Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends 'users/profile/accounts/accounts_base.html' %}
- {% block content %}
- <h1>Переводы</h1>
- <form method="post">
- {% csrf_token %}
- <input type="hidden"
- name="csrfmiddlewaretoken"
- value="bN0bvEjFZugXrrSz6yE8VujfFxeSYZBi6Fq2pEXWScK4xp7MphAPL1LW4kJPhxN8">
- <p>
- <label for="id_from_account">From account:</label>
- <select name="from_account"
- required=""
- id="id_from_account">
- {% for account in accounts %}
- <option value="{{ account.id }}">{{ account.name }}</option>
- {% endfor %}
- </select>
- </p>
- <p>
- <label for="id_to_account">To account:</label>
- <select name="to_account"
- required=""
- id="id_to_account">
- {% for account in accounts %}
- <option value="{{ account.id }}">{{ account.name }}</option>
- {% endfor %}
- </select>
- </p>
- <p>
- <label for="id_amount">Amount:</label>
- <input type="number"
- name="amount"
- step="0.01"
- required=""
- id="id_amount">
- </p>
- <p>
- <label for="id_date">Date:</label>
- <input type="date"
- name="date"
- value="12.06.2023"
- required=""
- id="id_date">
- <input type="hidden"
- name="initial-date"
- value="2023-06-12 18:38:51+00:00"
- id="initial-id_date">
- </p>
- <p>
- <label for="id_comment">Comment:</label>
- <input type="text"
- name="comment"
- maxlength="200"
- id="id_comment">
- </p>
- <button>Перевести</button>
- </form>
- {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment