Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

do

  • Loading branch information...
commit 2f6940160e84c1eca3902d9b4f39bc2a407cba21 1 parent 413862c
@bogdan authored
View
8 app/views/subscriptions/index.html.erb
@@ -6,7 +6,13 @@
<%= form = form_for(@subscription, :html => {:class => "ajax-form"}) do |f| %>
<div class="field" validate="first_name">
<%= f.label :first_name %><br />
- <%= f.text_field :first_name, :size => nil%>
+ <div style="width: 258px">
+ <%= f.text_field :first_name, :size => nil%>
+ <div class="validation-custom blue right">
+ <span class="validation-message"></span>
+ </div>
+ <div class="clear"></div>
+ </div>
</div>
<div class="field" validate="last_name">
<%= f.label :last_name %><br />
View
5 public/stylesheets/scaffold.css
@@ -123,3 +123,8 @@ div.field, div.actions {
background-color: #3F3;
border: 1px solid green;
}
+.validation-custom.blue {
+ width: 130px;
+ background-color: #33F;
+ border: 1px solid blue;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.