A set of plugins to help on managing geographic information
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{{#id}}
|
||||
<form method="POST" action="/city/{{id}}/edit">
|
||||
<input type="hidden" name="id" value="{{id}}" />
|
||||
<input type="hidden" name="_method" value="put" />
|
||||
{{/id}}
|
||||
{{^id}}
|
||||
<form method="POST" action="/city">
|
||||
<input type="hidden" name="id" value="" />
|
||||
{{/id}}
|
||||
<input type='text' name='id' value='{{id}}' />
|
||||
<input type='text' name='name' value='{{name}}' />
|
||||
<input type='text' name='state' value='{{state.shortname}}' />
|
||||
<input type='text' name='country' value='{{country.name}}' />
|
||||
|
||||
|
||||
</form>
|
||||
@@ -0,0 +1,3 @@
|
||||
<a href='/city/form' >Adicionar </a>
|
||||
|
||||
<div class="table-responsive remote-datatable" data-source="/city/table?selective=true"></div>
|
||||
@@ -0,0 +1,12 @@
|
||||
<div class="table-responsive">
|
||||
<table class='table datatable' data-src="/city/quicksearch?selective=true" style="width: 100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-field='id' data-orderable="false">Id</th>
|
||||
<th data-field='type'>Tipo</th>
|
||||
<th data-field='name'>Nome</th>
|
||||
<th data-field='number'>N Cadastro</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user