A set of plugins to help on managing geographic information
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{{@ if( {{id}} ): @}}
|
||||
<form method="POST" action="/state/{{id}}/edit">
|
||||
<input type="hidden" name="id" value="{{id}}" />
|
||||
<input type="hidden" name="_method" value="put" />
|
||||
{{@ else: @}}
|
||||
<form method="POST" action="/state">
|
||||
<input type="hidden" name="id" value="" />
|
||||
{{@ endif; @}}
|
||||
|
||||
</form>
|
||||
@@ -0,0 +1,4 @@
|
||||
<a href='/state/form' >Adicionar </a>
|
||||
<div class="table-responsive">
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<option id='0'>Selecione</option>
|
||||
{{#states}}
|
||||
<option id='{{id}}' value="{{id}}">{{shortname}}</option>
|
||||
{{/states}}
|
||||
Reference in New Issue
Block a user