-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block organizations' editing if it's from NGO Hub
- Loading branch information
1 parent
793cb4d
commit c882a6d
Showing
3 changed files
with
232 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
<select class="form-control" id="{{ identifier }}" name="{{ identifier }}" required x-moz-errormessage="Județul este obligatoriu" title="Județul este obligatoriu"> | ||
<option value="" class="select-placeholder">Județul</option> | ||
<optgroup label="București"> | ||
{% for number in range(1, 7) %} | ||
<option value="{{ number }}" {{ "selected" if number|string == county }}>Sector {{ number }}</option> | ||
{% endfor %} | ||
</optgroup> | ||
{% for county_name in counties %} | ||
<option value="{{ county_name }}" {{ "selected" if county_name == county }} >{{ county_name }}</option> | ||
<select | ||
class="form-control" | ||
id="{{ identifier }}" | ||
name="{{ identifier }}" | ||
required | ||
x-moz-errormessage="Județul este obligatoriu" | ||
title="Județul este obligatoriu" | ||
{% if is_disabled %}disabled{% endif %} | ||
> | ||
<option value="" class="select-placeholder">Județul</option> | ||
<optgroup label="București"> | ||
{% for number in range(1, 7) %} | ||
<option value="{{ number }}" {{ "selected" if number|string == county }}>Sector {{ number }}</option> | ||
{% endfor %} | ||
</optgroup> | ||
{% for county_name in counties %} | ||
<option value="{{ county_name }}" {{ "selected" if county_name == county }} >{{ county_name }}</option> | ||
{% endfor %} | ||
</select> |
Oops, something went wrong.