fix: add accept attribute to file pickers
This commit is contained in:
@@ -376,7 +376,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="margin: -8px -5px; max-height: 350px; overflow-y: scroll; text-align: center;">
|
||||
<div style="margin: -8px -5px; height: 350px; overflow-y: scroll; text-align: center;">
|
||||
<img style="margin: 8px 5px;" src="@Url.Action(MVC.API.DocumentTemplate.TemplatePreview(Model.DocumentTemplate.Id))" />
|
||||
</div>
|
||||
</td>
|
||||
@@ -386,7 +386,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
@if (Model.TemplatePagesHaveAttachmentId.Any(i => !i))
|
||||
{
|
||||
{
|
||||
<div class="info-box">
|
||||
@for (int i = 0; i < Model.TemplatePagesHaveAttachmentId.Count; i++)
|
||||
{
|
||||
@@ -412,7 +412,7 @@
|
||||
<div>
|
||||
@using (Html.BeginForm(MVC.API.DocumentTemplate.Template(Model.DocumentTemplate.Id, true, null), FormMethod.Post, new { enctype = "multipart/form-data" }))
|
||||
{
|
||||
<input type="file" name="Template" id="Config_DocumentTemplates_TemplatePdf_Template" style="width: 250px;" />
|
||||
<input type="file" name="Template" id="Config_DocumentTemplates_TemplatePdf_Template" accept=".pdf" style="width: 250px;" />
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user