Commit 9c747fbb authored by Andrew8xx8's avatar Andrew8xx8

Missing descriptions added

parent cf6d9a22
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
.input .input
= f.text_field :name, placeholder: "Example Team", class: "xxlarge" = f.text_field :name, placeholder: "Example Team", class: "xxlarge"
.clearfix.team_description_holder .clearfix.team-description-holder
= f.label :description, "Details" = f.label :description, "Details"
.input .input
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
.input .input
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" = f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left"
.clearfix.team_description_holder .clearfix.team-description-holder
= f.label :description, "Details" = f.label :description, "Details"
.input .input
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
......
...@@ -9,8 +9,15 @@ ...@@ -9,8 +9,15 @@
Group name is Group name is
.input .input
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" = f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left"
 
.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" = f.submit 'Save group', class: "btn btn-save"
%hr %hr
......
...@@ -9,8 +9,16 @@ ...@@ -9,8 +9,16 @@
Group name is Group name is
.input .input
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" = 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 %hr
.padded .padded
%ul %ul
......
- if @group.description.present?
.description
= @group.description
%hr
.projects .projects
.activities.span8 .activities.span8
= render "events/event_last_push", event: @last_push = render "events/event_last_push", event: @last_push
......
...@@ -12,13 +12,20 @@ ...@@ -12,13 +12,20 @@
.input .input
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xlarge left" = f.text_field :name, placeholder: "Ex. OpenSource", class: "xlarge left"
.clearfix.team-description-holder
= f.label :description, "Details"
.input
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
.clearfix .clearfix
= f.label :path do = f.label :path do
Team path is Team path is
.input .input
= f.text_field :path, placeholder: "opensource", class: "xlarge left" = f.text_field :path, placeholder: "opensource", class: "xlarge left"
.form-actions .form-actions
= f.submit 'Save team changes', class: "btn btn-save" = f.submit 'Save team changes', class: "btn btn-primary"
= link_to 'Delete team', team_path(@team), method: :delete, confirm: "You are shure?", class: "btn btn-remove pull-right"
.span5 .span5
.ui-box .ui-box
%h5.title Remove team %h5.title Remove team
...@@ -26,4 +33,3 @@ ...@@ -26,4 +33,3 @@
%p %p
Removed team can not be restored! Removed team can not be restored!
= link_to 'Remove team', team_path(@team), method: :delete, confirm: "You are sure?", class: "btn btn-remove btn-small" = link_to 'Remove team', team_path(@team), method: :delete, confirm: "You are sure?", class: "btn btn-remove btn-small"
...@@ -9,8 +9,15 @@ ...@@ -9,8 +9,15 @@
Team name is Team name is
.input .input
= f.text_field :name, placeholder: "Ex. Ruby Developers", class: "xxlarge left" = f.text_field :name, placeholder: "Ex. Ruby Developers", class: "xxlarge left"
 
.clearfix.team-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 team', class: "btn btn-create" = f.submit 'Create team', class: "btn btn-create"
%hr %hr
.padded .padded
%ul %ul
......
- if @group.description.present?
.description
= @group.description
%hr
.projects .projects
.activities.span8 .activities.span8
= link_to dashboard_path, class: 'btn btn-tiny' do = link_to dashboard_path, class: 'btn btn-tiny' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment