Changed year value
This commit is contained in:
parent
c86b090485
commit
3905d32f7d
|
@ -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;">
|
||||
|
||||
|
|
Loading…
Reference in a new issue