Changed year value

This commit is contained in:
zeldaroot 2021-04-14 02:12:13 +03:00
parent c86b090485
commit 3905d32f7d

View file

@ -593,7 +593,7 @@
<%= __('Год:') %>
</div>
<input type="text" class="form-control" name="movie.year"
value="<% if (movie.year) { %><%= movie.year %><% } else { %><%- new Date().toJSON().substr(0, 4) %><% } %>"
value="<% if (movie.year) { %><%= movie.year %><% } %>"
placeholder="<%= __('Например:') %> <%= __('2020') %>"
style="font-weight: normal; font-size: 14px;">