@ -41,7 +41,7 @@
<tr class="{% cycle 'row1' 'row2' %}">
{%if not carIsEmpty%}
<th><input type="checkbox" name="_selected_action"
value="{{casa.id}}" class="action-select" /></th>
value="{{casa.id|safe}}" class="action-select" /></th>
{% endif %}
<td style="text-align: left;">{{casa.nome}}</td>
<td>{{casa.municipio}}</td>
value="{{convenio.id}}" class="action-select" /></th>
value="{{convenio.id|safe}}" class="action-select" /></th>
<td style="text-align: left;">{{convenio.num_convenio}}</td>
<td>{{convenio.casa_legislativa}}</td>
@ -52,7 +52,7 @@
{% csrf_token %}
<select name="categoria">
{% for categoria in categorias %}
<option value="{{ categoria.id }}" {% if categoria.id == sel_categoria %}selected="selected"{% endif %}>{{ categoria.nome }}</option>
<option value="{{ categoria.id|safe }}" {% if categoria.id == sel_categoria %}selected="selected"{% endif %}>{{ categoria.nome }}</option>
{% endfor %}
</select>
</form>
@ -40,7 +40,7 @@
value="{{parlamentar.id}}" class="action-select" /></th>
value="{{parlamentar.id|safe}}" class="action-select" /></th>
<td style="text-align: left;">{{parlamentar.nome_completo}}</td>
<td>{{parlamentar.nome_parlamentar}}</td>
@ -32,7 +32,7 @@
<tr> <td colspan="6">Nenhum serviço cadastrado para esta Casa Legislativa</td> </tr>
<tr class="add-row">
<td colspan="6"><a href="{% url 'admin:servicos_servico_add' %}?id_casa={{ original.id | safe }}">Adicionar outro Servico</a></td>
<td colspan="6"><a href="{% url 'admin:servicos_servico_add' %}?id_casa={{ original.id|safe }}">Adicionar outro Servico</a></td>
</tr>
</tbody>
</table>