form.mustache 303 B

12345678910
  1. {{@ if( {{id}} ): @}}
  2. <form method="POST" action="/defaults/{{id}}/edit">
  3. <input type="hidden" name="id" value="{{id}}" />
  4. <input type="hidden" name="_method" value="put" />
  5. {{@ else: @}}
  6. <form method="POST" action="/defaults">
  7. <input type="hidden" name="id" value="" />
  8. {{@ endif; @}}
  9. </form>