Fix linting issues in app/views/fields (#1862) [ci skip]

This commit is contained in:
Glenn Carremans 2019-02-25 20:29:28 +01:00 committed by Mac Siri
parent 1c7b15c48a
commit ac7b0328df
5 changed files with 6 additions and 5 deletions

View file

@ -3,6 +3,6 @@
</div>
<div class="field-unit__field">
<%= image_tag field.url, style: "background-color:#d9d9d9;max-width:100px" if field.url %>
<br/>
<br />
<%= f.file_field field.attribute %>
</div>

View file

@ -1 +1 @@
<%= image_tag field.url, style: "background-color:#d9d9d9" if field.url%>
<%= image_tag field.url, style: "background-color:#d9d9d9" if field.url %>

View file

@ -1 +1 @@
<%= image_tag field.url, style: "background-color:#d9d9d9;max-width:400px" if field.url%>
<%= image_tag field.url, style: "background-color:#d9d9d9;max-width:400px" if field.url %>

View file

@ -3,5 +3,6 @@
</div>
<div class="field-unit__field">
<%= f.text_field field.attribute, value: field.to_s, placeholder: "comma separated, space is optional. Example: 1,2,3" %>
<sub>comma separated, space is optional. Example: <code style="background: #D2D2D2; padding: 4px; border-radius: 5px; font-weight: bold;">1,2,3</code></sub>
<sub>comma separated, space is optional. Example:
<code style="background: #D2D2D2; padding: 4px; border-radius: 5px; font-weight: bold;">1,2,3</code></sub>
</div>

View file

@ -3,4 +3,4 @@
</div>
<div class="field-unit__field">
<%= f.check_box field.attribute %>
</div>
</div>