Missing descriptions added

This commit is contained in:
Andrew8xx8 2013-02-19 23:02:25 +04:00
parent cf6d9a2222
commit 9c747fbb95
8 changed files with 48 additions and 10 deletions

View file

@ -9,8 +9,15 @@
Group name is
.input
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left"
 
= f.submit 'Save group', class: "btn btn-save"
.clearfix.group_description_holder
= f.label :description, "Details"
.input
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
.form-actions
= f.submit 'Save group', class: "btn btn-save"
%hr

View file

@ -9,8 +9,16 @@
Group name is
.input
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left"
 
= f.submit 'Create group', class: "btn btn-create"
.clearfix.group_description_holder
= f.label :description, "Details"
.input
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
.form-actions
= f.submit 'Create group', class: "btn btn-primary"
%hr
.padded
%ul

View file

@ -1,3 +1,8 @@
- if @group.description.present?
.description
= @group.description
%hr
.projects
.activities.span8
= render "events/event_last_push", event: @last_push