File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed
Resources/views/Form/UploadCollection Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change 11<script id =" {{ id ~ ' _upload_template' }}" type =" text/x-tmpl" >
2- {% raw %}
2+ {% verbatim %}
33{% for (var i=0, file; file=o.files [i ]; i++) { %}
4- {% endraw %}
4+ {% endverbatim %}
55 < tr class = " template-upload fade" >
66 {% if sortable %}
77 < td class = " sort" >< / td>
88 {% endif %}
99 < td class = " preview" >< span class = " fade" >< / span>< / td>
10- < td class = " name" >< span> {% raw %}{%=file.name%}{% endraw %}< / span>< / td>
11- < td class = " size" >< span> {% raw %}{%=o.formatFileSize (file .size )%}{% endraw %}< / span>< / td>
12- {% raw %}
10+ < td class = " name" >< span> {% verbatim %}{%=file.name%}{% endverbatim %}< / span>< / td>
11+ < td class = " size" >< span> {% verbatim %}{%=o.formatFileSize (file .size )%}{% endverbatim %}< / span>< / td>
12+ {% verbatim %}
1313 {% if (file .error ) { %}
14- {% endraw %}
14+ {% endverbatim %}
1515 <td class=" error" colspan=" 2" >
1616 <span class=" label label-important" >
1717 {{- ' s2a_upload_collection.error' |trans({}, ' AdmingeneratorFormExtensions' ) -}}
18- </span> {% raw %}{%=file.error%}{% endraw %}
18+ </span> {% verbatim %}{%=file.error%}{% endverbatim %}
1919 < / td>
20- {% raw %}
20+ {% verbatim %}
2121 {% } else { %}
22- {% endraw %}
22+ {% endverbatim %}
2323 <td colspan=" 2" ></td>
24- {% raw %}
24+ {% verbatim %}
2525 {% } %}
26- {% endraw %}
26+ {% endverbatim %}
2727 < td class = " actions" >
28- {% raw %}
28+ {% verbatim %}
2929 {% if (!i) { %}
30- {% endraw %}
30+ {% endverbatim %}
3131 <div class=" btn-toolbar" >
3232 {% if not autoUpload and uploadRouteName is not empty %}
3333 <button class=" btn btn-primary start" >
4040 < span> {{ ' s2a_upload_collection.cancel' | trans({}, ' AdmingeneratorFormExtensions' ) }}< / span>
4141 < / button>
4242 < / div>
43- {% raw %}
43+ {% verbatim %}
4444 {% } %}
45- {% endraw %}
45+ {% endverbatim %}
4646 < / td>
4747 < / tr>
48- {% raw %}
48+ {% verbatim %}
4949{% } %}
50- {% endraw %}
50+ {% endverbatim %}
5151</script >
You can’t perform that action at this time.
0 commit comments