Skip to content

Commit

Permalink
Fix Refresh Account button not working
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Oct 17, 2016
1 parent 58449c2 commit 52f15a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/views/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h3>Projects</h3>
{% for account in currentUser.accounts %}
<li{% if loop.first %} class="active"{% endif %}>
<a href="#account-{{ account.provider }}-{{ account.id }}" data-toggle="tab">
{% if providers[account.provider].inline_icon %}<i class="fa fa-{{ providers[account.provider].inline_icon }}"></i>{% endif %}
{% if providers[account.provider].inline_icon %}<i class="fa fa-{{ providers[account.provider].inline_icon }}"></i>{% endif %}
{{ account.title }}
</a>
</li>
Expand Down Expand Up @@ -72,8 +72,8 @@ <h3>Projects</h3>

<div class="refresh-account">
<form action="/projects" method="post">
<input type="hidden" name="refresh" value=[[ account.provider ]] />
<input type="hidden" name="aid" value=[[ account.id ]] />
<input type="hidden" name="refresh" value="[[ account.provider ]]" />
<input type="hidden" name="aid" value="[[ account.id ]]" />
<button class="refresh btn btn-warning" ng-click="submit()">
Refresh Account <i class="fa fa-refresh"></i>
</button>
Expand Down

0 comments on commit 52f15a4

Please sign in to comment.