Skip to content
Snippets Groups Projects
Select Git revision
  • f7c12ef4eb09a8a0b2509ba63bbf4ca17afbb0e7
  • main default protected
  • localization/multicurrency
  • user-stories
4 results

addItem.html

Blame
  • user avatar
    Arno Wunderlich authored
    f7c12ef4
    History
    addItem.html 1.17 KiB
    {% extends 'base.html' %}
    
    {% block header %}
    <h1>{% block title %}Sell items{% endblock %}</h1>
    {% endblock %}
    
    {% block content %}
    <div class="container">
        <div class="mb-3">
            <label for="email" class="form-label">Email address</label>
            <input type="email" class="form-control" id="email" name="email" aria-describedby="emailHelp">
        </div>
        <div class="mb-3">
            <label for="nItem" class="form-label">Item's name</label>
            <input type="text" class="form-control" id="nItem" name="nItem">
        </div>
        <div class="mb-3">
            <label for="description" class="form-label">Description</label>
            <textarea class="form-control" id="description" name="description" maxlength="700"></textarea>
        </div>
        <div class="mb-3">
            <label for="sPrice" class="form-label">Starting price</label>
            <input type="number" class="form-control" id="sPrice" name="sPrice" min="0" max="100000000">
        </div>
        <div class="mb-3">
            <label for="image" class="form-label">Image</label>
            <input type="file" class="form-control" id="image" name="image">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </div>
    {% endblock %}