category-modal.php 865 B

12345678910111213141516
  1. <div data-name="category-modal" class="modal">
  2. <form name="add-category" class="modal__content add-category">
  3. <h3 class="add-category__title">Add a new category</h3>
  4. <div class="add-category__field">
  5. <input name="title" type="text" class="add-category__field_input" placeholder="Name of category">
  6. </div>
  7. <div class="add-category__field">
  8. <label for="color" class="add-category__field_label">Please, choose the color</label>
  9. <input name="color" type="color" value="#eda13e" class="category-color_input">
  10. </div>
  11. <div class="task-form__actions">
  12. <button type="button" class="task-form__actions_close form-action-btn">Close</button>
  13. <button type="submit" class="task-form__actions_confirm form-action-btn">Confirm</button>
  14. </div>
  15. </form>
  16. </div>