dimanche 26 juillet 2015

Adding an image in placeholder of .hbs ember template file

I want to add an image to a .hbs template file in ember. I dont build applications I'm just simply trying to style up the basic todo list app.

<section class='todoapp'>
  <header id='header'>
    <img src="../assets/logo2.png" />
    {{input type='text'
            class='new-todo'
            placeholder='What else is in your wallet?'
            value=newTitle
            enter='createTodo'}}
  </header>

My goal is to add an image next to the placeholder field before someone clicks into the inputer field. I'm assuming I cant add it with the value so do I do something with the .new-todo class in css to drop the image in?




Aucun commentaire:

Enregistrer un commentaire