mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-11 17:24:50 -04:00
Full-width form elements
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
%li= msg
|
||||
|
||||
.field
|
||||
= f.text_area :body, :rows => 6, :class => 'input-block-level'
|
||||
= f.text_area :body, :rows => 6, :class => 'form-control'
|
||||
%span.help-block
|
||||
= render :partial => "shared/markdown_help"
|
||||
.actions
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
.form-group
|
||||
=f.label :bio, :class => 'control-label'
|
||||
.controls
|
||||
=f.text_area :bio, :rows => 6, :class => 'input-block-level'
|
||||
=f.text_area :bio, :rows => 6, :class => 'form-control'
|
||||
|
||||
%h2 Linked accounts
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
|
||||
.form-group
|
||||
= f.label :name, :class => 'control-label'
|
||||
.controls= f.text_field :name, :class => 'input-block-level'
|
||||
.controls= f.text_field :name, :class => 'form-control'
|
||||
.form-group
|
||||
= f.label :description, :class => 'control-label'
|
||||
.controls= f.text_area :description, :rows => 6, :class => 'input-block-level'
|
||||
.controls= f.text_area :description, :rows => 6, :class => 'form-control'
|
||||
.form-group
|
||||
= f.label :owner_id, :class => 'control-label'
|
||||
.controls= collection_select(:forum, :owner_id, Member.all, :id, :login_name)
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
To:
|
||||
= link_to @recipient, @recipient
|
||||
= label_tag :notification, "Subject:"
|
||||
= f.text_field :subject, :value => @subject, :class => 'input-block-level'
|
||||
= f.text_field :subject, :value => @subject, :class => 'form-control'
|
||||
= label_tag :body, "Type your message here:"
|
||||
= f.text_area :body, :rows => 12, :class => 'input-block-level'
|
||||
= f.text_area :body, :rows => 12, :class => 'form-control'
|
||||
%span.help-block
|
||||
= render :partial => "shared/markdown_help"
|
||||
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
|
||||
= label_tag :post, "Subject"
|
||||
= f.text_field :subject, :class => 'input-block-level'
|
||||
= f.text_field :subject, :class => 'form-control'
|
||||
- if @post.forum || @forum
|
||||
= label_tag :body, "What's up?"
|
||||
- else
|
||||
= label_tag :body, "What's going on in your food garden?"
|
||||
= f.text_area :body, :rows => 12, :class => 'input-block-level'
|
||||
= f.text_area :body, :rows => 12, :class => 'form-control'
|
||||
%span.help-block
|
||||
= render :partial => "shared/markdown_help"
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
|
||||
.field
|
||||
= f.label :name
|
||||
= f.text_field :name, :class => 'input-block-level'
|
||||
= f.text_field :name, :class => 'form-control'
|
||||
.field
|
||||
= f.label :description
|
||||
= f.text_area :description, :class => 'input-block-level'
|
||||
= f.text_area :description, :class => 'form-control'
|
||||
.field
|
||||
= f.label :min_price, "Minimum price (in cents)"
|
||||
= f.text_field :min_price
|
||||
|
||||
Reference in New Issue
Block a user