Skip to content

Commit

Permalink
Remove unexisting class.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovico Fischer authored and Peter Hilton committed Nov 18, 2011
1 parent bcdbaf9 commit f104dc4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions samples-and-tests/yabe/app/views/Admin/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ <h3>Edit, <span>this post</span></h3>
#{field 'title'}
<label>Post title:</label>
<input type="text" name="${field.name}"
value="${post?.title}" class="${field.errorClass}" />
value="${post?.title}" />
<span class="error">#{error 'post.title'/}</span>
#{/field}
</p>

<p>
#{field 'content'}
<label>Write here:</label>
<textarea name="${field.name}"
class="${field.errorClass}">${post?.content}</textarea>
<textarea name="${field.name}">
${post?.content}
</textarea>
<span class="error">#{error 'post.content'/}</span>
#{/field}
</p>
Expand Down

0 comments on commit f104dc4

Please sign in to comment.