Commit b869e39ea92c48bb1a5d37c0e65f919fd76cfd62
Committed by
Diego Camarinha
1 parent
ad3365b5
Exists in
colab
and in
4 other branches
Adding New Button on my projects page. Closing issue #93.
Signed-off-by:Beatriz Rezener <beatrizrezener@gmail.com> Signed-off-by:João Gabriel <joaogabrieldebrittoesilva@gmail.com> Signed-off-by:Larissa Rodrigues <larissax55@gmail.com> Signed-off-by:Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com> Signed-off-by:Thiago Ribeiro <thiagitosouza@hotmail.com> Signed-off-by:Vinicius Franco <viniciusf.arantes@gmail.com>
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
app/views/users/projects.html.erb
| 1 | 1 | <div class="page-header"> |
| 2 | 2 | <h1><%= @user.name %> Projects</h1> |
| 3 | 3 | </div> |
| 4 | - | |
| 4 | +<p> | |
| 5 | + <%= link_to 'New Project', new_project_path, class: | |
| 6 | + 'btn btn-primary' %> | |
| 7 | +</p> | |
| 5 | 8 | <%= render partial: 'shared/project_list', locals: {projects: @user.projects} %> |
| 6 | 9 | \ No newline at end of file | ... | ... |