Skip to content

Commit

Permalink
Merge pull request #77 from CityOfNewYork/hotfix/OP-557
Browse files Browse the repository at this point in the history
Hotfix/OP-557: Removed changing privacy of description
  • Loading branch information
aot221 committed Mar 19, 2016
2 parents 4852830 + f22b9e0 commit 7b87df2
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions public_records_portal/templates/case.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,50 +247,6 @@ <h3 class="control-widget">
</fieldset>
</form>
{% endif %}
{% if current_user.is_authenticated and audience == 'city' %}
<form class="form-horizontal" method="post" action="/changeprivacy">
<input type="hidden" name="request_id" value="{{ req.id }}"/>
<input name=_csrf_token type=hidden value="{{ csrf_token() }}">
<input type="hidden" name="fieldtype" value="description"/>
<fieldset>
<!-- Multiple Radios (inline) -->
<div class="control-group">
<label class="control-label" for="privacy setting" style="width:7rem; text-align:left;">Description
Privacy:</label>

<div class="controls" style="margin-left: 3rem">
{% if req.descriptionPrivate==True %}
<label class="radio inline" for="privacy setting-public">
<input type="radio" name="privacy setting" id="privacy setting-public"
value="False" type="submit" onclick="action=this.form.submit();">
{# Value set to False means public#}
Public
</label>
<label class="radio inline" for="privacy setting-private">
<input type="radio" name="privacy setting" id="privacy setting-private"
value="True" type="submit" checked onclick="action=this.form.submit();">
{# Value set to True means private#}
Private
</label>
{% else %}
<label class="radio inline" for="privacy setting-public">
<input type="radio" name="privacy setting" id="privacy setting-public"
value="False" type="submit" checked onclick="action=this.form.submit();">
{# Value set to False means public#}
Public
</label>
<label class="radio inline" for="privacy setting-private">
<input type="radio" name="privacy setting" id="privacy setting-private"
value="True" type="submit" onclick="action=this.form.submit();">
{# Value set to True means private#}
Private
</label>
{% endif %}
</div>
</div>
</fieldset>
</form>
{% endif %}
</div>
<!--<div>-->
<!--&lt;!&ndash; shows any existing Q&A or public notes &ndash;&gt;-->
Expand Down

0 comments on commit 7b87df2

Please sign in to comment.