title: Ruby on Rails : simple form, add Image next to each input field
body: <p>When i use rails, i create a simple form using simple form gem</p>
  
  <p>I create a form like this</p>
  
  <pre><code>&lt;%= simple_form_for @user do |f| %&gt;
    &lt;%= f.input :username %&gt;
    &lt;%= f.input :password %&gt;
    &lt;%= f.button :submit %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>but i would like to add an default image element just next to each fields. how can i achieve that?</p>
  
  <p>i try this</p>
  
  <pre><code>&lt;%= simple_form_for @user do |f| %&gt;
        &lt;%= f.input :username % &gt;
        &lt;img xxxx&gt;
        &lt;%= f.input :password %&gt;
        &lt;img xxxx&gt;
        &lt;%= f.button :submit %&gt;
        &lt;img xxxx&gt;
      &lt;% end %&gt;
  </code></pre>
  
  <p>but i won't work as it would wrap into a new line for each element field.</p>