File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
deps/rabbitmq_management/priv/www/js/tmpl Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 227227 < div class = " hider" >
228228 < form action= " #/queues" method= " put" >
229229 < table class = " form" >
230- < % if (display .vhosts ) { % >
231- < tr>
232- < th>< label> Virtual host: < / label>< / th>
233- < td>
234- < select name= " vhost" >
235- < % for (var i = 0 ; i < vhosts .length ; i++ ) { % >
236- < option value= " <%= fmt_string(vhosts[i].name) %>" < %= (vhosts[i].name === current_vhost) ? ' selected="selected"' : ' ' % >> < %= fmt_string (vhosts[i].name ) % >< / option>
237- < % } % >
238- < / select>
239- < / td>
240- < / tr>
241- < % } else { % >
242- < tr>< td>< input type= " hidden" name= " vhost" value= " <%= fmt_string(vhosts[0].name) %>" / >< / td>< / tr>
243- < % } % >
244230 < tr>
245231 < th>< label> Type: < / label>< / th>
246232 < td>
258244 < / select>
259245 < / td>
260246 < / tr>
247+ < % if (display .vhosts ) { % >
248+ < tr>
249+ < th>< label> Virtual host: < / label>< / th>
250+ < td>
251+ < select name= " vhost" >
252+ < % for (var i = 0 ; i < vhosts .length ; i++ ) { % >
253+ < option value= " <%= fmt_string(vhosts[i].name) %>" < %= (vhosts[i].name === current_vhost) ? ' selected="selected"' : ' ' % >> < %= fmt_string (vhosts[i].name ) % >< / option>
254+ < % } % >
255+ < / select>
256+ < / td>
257+ < / tr>
258+ < % } else { % >
259+ < tr>< td>< input type= " hidden" name= " vhost" value= " <%= fmt_string(vhosts[0].name) %>" / >< / td>< / tr>
260+ < % } % >
261261 < tr>
262262 < th>< label> Name: < / label>< / th>
263263 < td>< input type= " text" name= " name" / >< span class = " mand" > * < / span>< / td>
You can’t perform that action at this time.
0 commit comments