|
- <h2>Import Jurisdiction</h2>
-
- <% Flash().ShowErrorsIfPresent %>
- <% Flash().ShowSuccessIfPresent %>
-
- <%= HTML.FormTag("Jurisdiction", "ImportPost", empty, Array("enctype","multipart/form-data")) %>
- <%= HTML.Hidden("nonce", HTMLSecurity.GetAntiCSRFToken("JurisdictionImportForm")) %>
- <hr />
- <div><p>Upload a CSV (.csv) or tab-delimited (.txt) file to import jurisdiction data</p></div>
-
- <div class="form-group">
- <div class="row">
- <div class="col-md-4">
- <div class="form-group">
- <label for="filename">Select File</label>
- <input type="file" id="filename" name="filename" accept=".csv,.txt" required>
- </div>
- </div>
- </div>
- <p></p>
- <%= HTML.Button("submit", "<i class='glyphicon glyphicon-ok'></i> Upload", "btn-primary") %>
- <small class="form-text text-muted">Accepted formats: .csv, .txt | Max size: 10 MB</small>
- </div>
-
- </form>
|