Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

Commit

Permalink
Merge pull request #55 from swiftype/label_for_tweet
Browse files Browse the repository at this point in the history
make the 'Tweet this...' text a label so it can be clicked on to toggle the checkbox
  • Loading branch information
kyleconroy committed Jun 19, 2013
2 parents cbe9493 + 209a867 commit 082227a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stashboard/templates/admin/events_create.html
Expand Up @@ -19,7 +19,7 @@ <h1>Update Status of {{ service.name }}</h1>
<dt><label for="message">Description</label></dt>
<dd><textarea id="message" name="message" size="30" type="text">{{description}}</textarea></dd>
{% if twitter_handle %}
<dd><input type="checkbox" name="tweet"/>Tweet this update to <span class="twitter_handle">@{{twitter_handle}}</span></dd>
<dd><input type="checkbox" name="tweet" id="tweet"/><label for="tweet">Tweet this update to <span class="twitter_handle">@{{twitter_handle}}</label></span></dd>
{% endif %}
</dl>

Expand Down
2 changes: 1 addition & 1 deletion stashboard/templates/admin/events_note.html
Expand Up @@ -13,7 +13,7 @@ <h1>Add Note on {{ service.name }}</h1>
<dt><label for="message">Message</label></dt>
<dd><textarea id="message" name="message" size="30" type="text">{{description}}</textarea></dd>
{% if twitter_handle %}
<dd><input type="checkbox" name="tweet"/>Tweet this update to <span class="twitter_handle">@{{twitter_handle}}</span></dd>
<dd><input type="checkbox" name="tweet" id="tweet"/><label for="tweet">Tweet this update to <span class="twitter_handle">@{{twitter_handle}}</span></label></dd>
{% endif %}
</dl>

Expand Down

0 comments on commit 082227a

Please sign in to comment.