Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove size specification from form inputs, use CSS styling instead.

  • Loading branch information...
commit ed52b8efc1e47e080bd68c2b1f743520fcf52bb5 1 parent bc1b839
Tyler authored dwradcliffe committed
View
2  app/views/passwords/edit.html.erb
@@ -6,7 +6,7 @@
<%= error_messages_for :user %>
<div class="password_field">
<%= form.label :password %>
- <%= form.password_field :password, :size => 25 %>
+ <%= form.password_field :password %>
</div>
<div class="form_bottom">
<%= form.submit t('.submit'), :data => {:disable_with => t('form_disable_with')} %>
View
6 app/views/profiles/edit.html.erb
@@ -11,12 +11,12 @@
<div class="text_field">
<%= form.label :handle %>
- <%= form.text_field :handle, :size => 25 %>
+ <%= form.text_field :handle %>
</div>
<div class="text_field">
<%= form.label :email %>
- <%= form.email_field :email, :size => 25 %>
+ <%= form.email_field :email %>
</div>
<div class="checkbox" style="padding-bottom: 10px;">
@@ -27,7 +27,7 @@
<div class="text_field">
<%= form.label :gittip_username %>
<%= link_to "What's this?", "https://www.gittip.com/about/" %>
- <%= form.text_field :gittip_username, :size => 25 %>
+ <%= form.text_field :gittip_username %>
</div>
<div class="submit_field">
View
10 app/views/rubygems/edit.html.erb
@@ -5,23 +5,23 @@
<%= form_for @rubygem.linkset, :url => rubygem_url(@rubygem), :method => :put do |form| %>
<div class="url_field">
<%= form.label :code %>
- <%= form.text_field :code, :size => 25 %>
+ <%= form.text_field :code %>
</div>
<div class="url_field">
<%= form.label :docs %>
- <%= form.text_field :docs, :size => 25 %>
+ <%= form.text_field :docs %>
</div>
<div class="url_field">
<%= form.label :wiki %>
- <%= form.text_field :wiki, :size => 25 %>
+ <%= form.text_field :wiki %>
</div>
<div class="url_field">
<%= form.label :mail %>
- <%= form.text_field :mail, :size => 25 %>
+ <%= form.text_field :mail %>
</div>
<div class="url_field">
<%= form.label :bugs %>
- <%= form.text_field :bugs, :size => 25 %>
+ <%= form.text_field :bugs %>
</div>
<%= form.submit t('update'), :data => {:disable_with => t('form_disable_with')} %>
<% end %>
View
4 app/views/sessions/new.html.erb
@@ -5,11 +5,11 @@
<%= form_for :session, :url => session_path do |form| %>
<div class="text_field">
<%= form.label :who, t('activerecord.attributes.session.who') %>
- <%= form.text_field :who, :size => 25 %>
+ <%= form.text_field :who %>
</div>
<div class="password_field">
<%= form.label :password, t('activerecord.attributes.session.password') %>
- <%= form.password_field :password, :size => 25 %>
+ <%= form.password_field :password %>
</div>
<div class="form_bottom">
<%= form.submit "Sign in", :data => {:disable_with => t('form_disable_with')} %>
View
6 app/views/users/_form.html.erb
@@ -1,13 +1,13 @@
<%= form.error_messages %>
<div class="text_field">
<%= form.label :email %>
- <%= form.email_field :email, :size => 25 %>
+ <%= form.email_field :email, :style => "width: 669px" %>
</div>
<div class="text_field">
<%= form.label :handle %>
- <%= form.text_field :handle, :size => 25 %>
+ <%= form.text_field :handle %>
</div>
<div class="password_field">
<%= form.label :password %>
- <%= form.password_field :password, :size => 25 %>
+ <%= form.password_field :password, :style => "width: 669px" %>
</div>
View
4 public/stylesheets/screen.css
@@ -1721,3 +1721,7 @@ h5#downloads {
font-weight: bold;
padding-left: 24px;
}
+
+form .text_field input, form .password_field input {
+ width: 669px;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.