Skip to content

Commit 3c333c0

Browse files
committed
mix format
1 parent f902cf5 commit 3c333c0

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

lib/preview_web/live/preview_live.html.heex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<label for="file_chooser">Select File:</label>
44
<select class="file-select" name="file_chooser">
55
<%= for filename <- @all_files do %>
6-
<option {selected(@filename, filename)} value={filename}><%= filename %></option>
6+
<option {selected(@filename, filename)} value={filename}>{filename}</option>
77
<% end %>
88
</select>
99
</form>
1010
<%= if @filename && @file_contents do %>
1111
<div class="code_file">
12-
<h2><%= @filename %></h2>
12+
<h2>{@filename}</h2>
1313
<style>
1414
<%= raw Makeup.stylesheet(Makeup.Styles.HTML.StyleMap.lovelace_style()) %>
1515
</style>
@@ -20,7 +20,7 @@
2020
<li phx-hook="updateHash" id={"L#{ln}"} data-line-number={ln}></li>
2121
<% end %>
2222
</ul>
23-
<%= raw(@makeup_file_contents) %>
23+
{raw(@makeup_file_contents)}
2424
</section>
2525
</div>
2626
<% end %>

lib/preview_web/live/search_live.html.heex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/>
1313
<div class="suggestions" id="results">
1414
<%= for app <- @results do %>
15-
<span class="suggestion" phx-click={"search_" <> app} onclick=""><%= app %></span>
15+
<span class="suggestion" phx-click={"search_" <> app} onclick="">{app}</span>
1616
<% end %>
1717
</div>
1818
</form>
@@ -24,7 +24,7 @@
2424
<label for="from">Version</label>
2525
<select name="from">
2626
<%= for vsn <- @versions do %>
27-
<option value={vsn}><%= vsn %></option>
27+
<option value={vsn}>{vsn}</option>
2828
<% end %>
2929
</select>
3030
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<%= @inner_content %>
1+
{@inner_content}

lib/preview_web/templates/layout/live.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
phx-no-format
1616
><%= Phoenix.Flash.get(@flash, :error) %></p>
1717

18-
<%= @inner_content %>
18+
{@inner_content}
1919
</main>

lib/preview_web/templates/layout/root.html.heex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<%= if assigns[:canonical] do %>
1212
<link rel="canonical" href={assigns[:canonical]} />
1313
<% end %>
14-
<%= csrf_meta_tag() %>
14+
{csrf_meta_tag()}
1515
<.live_title suffix=" | Hex Preview">
1616
{assigns[:page_title] || "Home"}
1717
</.live_title>
@@ -44,7 +44,7 @@
4444
</header>
4545

4646
<main role="main" class="main container">
47-
<%= @inner_content %>
47+
{@inner_content}
4848
</main>
4949

5050
<nav class="footer">
@@ -84,7 +84,7 @@
8484
</div>
8585

8686
<div class="column copyright">
87-
<p><%= Date.utc_today().year %> © Six Colors AB.</p>
87+
<p>{Date.utc_today().year} © Six Colors AB.</p>
8888
<p>
8989
Powered by the <a href="https://www.erlang.org/">Erlang VM</a>
9090
and the <a href="https://elixir-lang.org/">Elixir programming language</a>.

0 commit comments

Comments
 (0)