Guest User

Untitled

a guest
Jun 24th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. / renderEditRecipe(key) {
  2. // const recipe = this.props.recipes[key];
  3. // return (
  4. // <div className="modal">
  5. // <form
  6. // name="recipeForm"
  7. // ref={input => (this.recipeForm = input)}
  8. // >
  9. // <div className="inputsContainer">
  10. // <div className="recipeInputs">
  11. // <label>Recipe Name</label>
  12. // <input
  13. // value={recipe.recipeName}
  14. // name="recipeName"
  15. // type="text"
  16. // ref={input => (this.recipeName = input)}
  17. // />
  18. // <label>Recipe Photo</label>
  19. // <input
  20. // value={recipe.dishImg}
  21. // type="text"
  22. // name="dishImg"
  23. // ref={input => (this.dishImg = input)}
  24. // />
  25. // <label>Ingredients</label>
  26. // <textarea
  27. // value={recipe.ingredients}
  28. // name="ingredients"
  29. // placeholder="Put each ingredient on its own line"
  30. // ref={input => (this.ingredients = input)}
  31. // />
  32. // <label>Directions</label>
  33. // <textarea
  34. // value={recipe.directions}
  35. // name="directions"
  36. // placeholder="Put each step on its own line"
  37. // ref={input => (this.directions = input)}
  38. // />
  39. // </div>
  40. // </div>
  41. // <div className="formBtns">
  42. // <input type="submit" value="Save" />
  43. // <input type="reset" value="Clear" />
  44. // </div>
  45. // </form>
  46. // </div>
  47. // )
  48. // }
Add Comment
Please, Sign In to add comment