Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Wider Input fields for plans

  • Loading branch information...
commit 79b5d6270e0bf0a74d3519e5bb55e03f6cc56aa3 1 parent ef6ab9d
@marcust marcust authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 app/views/plans/_form.html.haml
View
5 app/views/plans/_form.html.haml
@@ -1,7 +1,8 @@
= simple_form_for(@plan) do |f|
= f.error_notification
.form-inputs
- = f.input :name
+ = f.label :name
+ = f.text_field :name, :class => "span5"
= f.label :description
.wysihtml5-toolbar{ "id" => "wysihtml5-toolbar", "style" => "display:none;" }
%button{ "data-wysihtml5-command" => "bold" }
@@ -9,7 +10,7 @@
%button{ "data-wysihtml5-command" => "italic" }
%button{ "data-wysihtml5-command" => "insertOrderedList" } 1.
%button{ "data-wysihtml5-command" => "insertUnorderedList" } •
- = f.text_area :description
+ = f.text_area :description, :class => "span5"
.field
= f.label :plan_image
= image_tag @plan.plan_image.public_url, :style => "max-width: 284px; margin: 10px 0px;"
Please sign in to comment.
Something went wrong with that request. Please try again.