File tree Expand file tree Collapse file tree 1 file changed +16
-20
lines changed
lib/algora_web/live/admin Expand file tree Collapse file tree 1 file changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -114,29 +114,25 @@ defmodule AlgoraWeb.Admin.CampaignLive do
114114 </ . header >
115115
116116 < . form for = { @ form } phx-change = "preview " class = "space-y-4 " >
117- < div class = "grid grid-cols-1 md:grid-cols-2 gap -6 " >
118- < div class = "space-y-6 " >
119- < div class = " grid grid-cols-2 gap-4 " >
120- < . input type = "text " field = { @ form [ :from_name ] } label = "From Name " />
121- < . input type = " email " field = { @ form [ :from_email ] } label = " From Email " / >
122- </ div >
117+ < div class = "space-y -6 " >
118+ < div class = "grid grid-cols-2 gap-4 " >
119+ < . input type = " text " field = { @ form [ :from_name ] } label = " From Name " / >
120+ < . input type = "email " field = { @ form [ :from_email ] } label = "From Email " />
121+ </ div >
122+ < div class = " grid grid-cols-2 gap-4 " >
123123 < . input type = "text " field = { @ form [ :subject ] } label = "Subject " />
124- < . input
125- type = "text "
126- field = { @ form [ :preheader ] }
127- label = "Preheader "
128- helptext = "A short summary that appears after the subject line in email clients "
129- />
130-
131- < . input
132- type = "textarea "
133- field = { @ form [ :template ] }
134- label = "Email Template "
135- helptext = "Use %{variable_name} for template variables "
136- rows = { 20 }
137- />
124+ < . input type = "text " field = { @ form [ :preheader ] } label = "Preheader " />
138125 </ div >
126+ </ div >
139127
128+ < div class = "grid grid-cols-1 md:grid-cols-2 gap-6 " >
129+ < . input
130+ type = "textarea "
131+ field = { @ form [ :template ] }
132+ label = "Email Template "
133+ helptext = "Use %{variable_name} for template variables "
134+ rows = { 20 }
135+ />
140136 < div class = "space-y-2 " >
141137 < . label > Preview</ . label >
142138 < div class = "prose max-w-none " >
You can’t perform that action at this time.
0 commit comments