Commit 9c747fbb95ed795b7159db79cea76ab8e4bd3da0
1 parent
cf6d9a22
Exists in
master
and in
4 other branches
Missing descriptions added
Showing
8 changed files
with
48 additions
and
10 deletions
Show diff stats
app/views/admin/teams/edit.html.haml
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | .input |
| 11 | 11 | = f.text_field :name, placeholder: "Example Team", class: "xxlarge" |
| 12 | 12 | |
| 13 | - .clearfix.team_description_holder | |
| 13 | + .clearfix.team-description-holder | |
| 14 | 14 | = f.label :description, "Details" |
| 15 | 15 | .input |
| 16 | 16 | = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 | ... | ... |
app/views/admin/teams/new.html.haml
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | .input |
| 11 | 11 | = f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" |
| 12 | 12 | |
| 13 | - .clearfix.team_description_holder | |
| 13 | + .clearfix.team-description-holder | |
| 14 | 14 | = f.label :description, "Details" |
| 15 | 15 | .input |
| 16 | 16 | = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 | ... | ... |
app/views/groups/edit.html.haml
| ... | ... | @@ -9,8 +9,15 @@ |
| 9 | 9 | Group name is |
| 10 | 10 | .input |
| 11 | 11 | = f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" |
| 12 | - | |
| 13 | - = f.submit 'Save group', class: "btn btn-save" | |
| 12 | + | |
| 13 | + .clearfix.group_description_holder | |
| 14 | + = f.label :description, "Details" | |
| 15 | + .input | |
| 16 | + = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 | |
| 17 | + | |
| 18 | + .form-actions | |
| 19 | + = f.submit 'Save group', class: "btn btn-save" | |
| 20 | + | |
| 14 | 21 | %hr |
| 15 | 22 | |
| 16 | 23 | ... | ... |
app/views/groups/new.html.haml
| ... | ... | @@ -9,8 +9,16 @@ |
| 9 | 9 | Group name is |
| 10 | 10 | .input |
| 11 | 11 | = f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" |
| 12 | - | |
| 13 | - = f.submit 'Create group', class: "btn btn-create" | |
| 12 | + | |
| 13 | + .clearfix.group_description_holder | |
| 14 | + = f.label :description, "Details" | |
| 15 | + .input | |
| 16 | + = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 | |
| 17 | + | |
| 18 | + .form-actions | |
| 19 | + = f.submit 'Create group', class: "btn btn-primary" | |
| 20 | + | |
| 21 | + | |
| 14 | 22 | %hr |
| 15 | 23 | .padded |
| 16 | 24 | %ul | ... | ... |
app/views/groups/show.html.haml
app/views/teams/edit.html.haml
| ... | ... | @@ -12,13 +12,20 @@ |
| 12 | 12 | .input |
| 13 | 13 | = f.text_field :name, placeholder: "Ex. OpenSource", class: "xlarge left" |
| 14 | 14 | |
| 15 | + .clearfix.team-description-holder | |
| 16 | + = f.label :description, "Details" | |
| 17 | + .input | |
| 18 | + = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 | |
| 19 | + | |
| 15 | 20 | .clearfix |
| 16 | 21 | = f.label :path do |
| 17 | 22 | Team path is |
| 18 | 23 | .input |
| 19 | 24 | = f.text_field :path, placeholder: "opensource", class: "xlarge left" |
| 25 | + | |
| 20 | 26 | .form-actions |
| 21 | - = f.submit 'Save team changes', class: "btn btn-save" | |
| 27 | + = f.submit 'Save team changes', class: "btn btn-primary" | |
| 28 | + = link_to 'Delete team', team_path(@team), method: :delete, confirm: "You are shure?", class: "btn btn-remove pull-right" | |
| 22 | 29 | .span5 |
| 23 | 30 | .ui-box |
| 24 | 31 | %h5.title Remove team |
| ... | ... | @@ -26,4 +33,3 @@ |
| 26 | 33 | %p |
| 27 | 34 | Removed team can not be restored! |
| 28 | 35 | = link_to 'Remove team', team_path(@team), method: :delete, confirm: "You are sure?", class: "btn btn-remove btn-small" |
| 29 | - | ... | ... |
app/views/teams/new.html.haml
| ... | ... | @@ -9,8 +9,15 @@ |
| 9 | 9 | Team name is |
| 10 | 10 | .input |
| 11 | 11 | = f.text_field :name, placeholder: "Ex. Ruby Developers", class: "xxlarge left" |
| 12 | - | |
| 13 | - = f.submit 'Create team', class: "btn btn-create" | |
| 12 | + | |
| 13 | + .clearfix.team-description-holder | |
| 14 | + = f.label :description, "Details" | |
| 15 | + .input | |
| 16 | + = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 | |
| 17 | + | |
| 18 | + .form-actions | |
| 19 | + = f.submit 'Create team', class: "btn btn-create" | |
| 20 | + | |
| 14 | 21 | %hr |
| 15 | 22 | .padded |
| 16 | 23 | %ul | ... | ... |