Missing descriptions added
This commit is contained in:
parent
cf6d9a2222
commit
9c747fbb95
8 changed files with 48 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
- if @group.description.present?
|
||||
.description
|
||||
= @group.description
|
||||
%hr
|
||||
|
||||
.projects
|
||||
.activities.span8
|
||||
= render "events/event_last_push", event: @last_push
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue