Система регионов
This commit is contained in:
@@ -40,6 +40,15 @@
|
||||
<input type="text" name="code" value="{{ code }}" placeholder="{{ entry_code }}" id="input-code" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group required">
|
||||
<label class="col-sm-2 control-label" for="input-slug">{{ entry_slug }}</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" name="slug" value="{{ slug }}" placeholder="{{ entry_slug }}" id="input-slug" class="form-control" />
|
||||
{% if error_slug %}
|
||||
<div class="text-danger">{{ error_slug }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="input-country">{{ entry_country }}</label>
|
||||
<div class="col-sm-10">
|
||||
@@ -73,4 +82,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ footer }}
|
||||
{{ footer }}
|
||||
|
||||
@@ -50,6 +50,11 @@
|
||||
{% else %}
|
||||
<a href="{{ sort_code }}">{{ column_code }}</a>
|
||||
{% endif %}</td>
|
||||
<td class="text-left">{% if sort == 'z.slug' %}
|
||||
<a href="{{ sort_slug }}" class="{{ order|lower }}">{{ column_slug }}</a>
|
||||
{% else %}
|
||||
<a href="{{ sort_slug }}">{{ column_slug }}</a>
|
||||
{% endif %}</td>
|
||||
<td class="text-right">{{ column_action }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -65,12 +70,13 @@
|
||||
<td class="text-left">{{ zone.country }}</td>
|
||||
<td class="text-left">{{ zone.name }}</td>
|
||||
<td class="text-left">{{ zone.code }}</td>
|
||||
<td class="text-left">{{ zone.slug }}</td>
|
||||
<td class="text-right"><a href="{{ zone.edit }}" data-toggle="tooltip" title="{{ button_edit }}" class="btn btn-primary"><i class="fa fa-pencil"></i></a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<tr>
|
||||
<td class="text-center" colspan="5">{{ text_no_results }}</td>
|
||||
<td class="text-center" colspan="6">{{ text_no_results }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</tbody>
|
||||
@@ -85,4 +91,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ footer }}
|
||||
{{ footer }}
|
||||
|
||||
Reference in New Issue
Block a user