diff --git a/lib/HTMLUtils.php b/lib/HTMLUtils.php
index 9da4ba7..ade0ca4 100644
--- a/lib/HTMLUtils.php
+++ b/lib/HTMLUtils.php
@@ -1,17 +1,6 @@
$infos ){
- if ( isset($infos['name']) )
- $buttons .= '' . PHP_EOL;
- }
-
- return $buttons;
- }
-
public static function displayBridgeCard($bridgeName, $formats, $isActive = true){
$bridgeElement = Bridge::create($bridgeName);
@@ -126,6 +115,17 @@ CARD;
return $card;
}
+ private static function getHelperButtonsFormat($formats){
+ $buttons = '';
+
+ foreach( $formats as $name => $infos ){
+ if ( isset($infos['name']) )
+ $buttons .= '' . PHP_EOL;
+ }
+
+ return $buttons;
+ }
+
private static function getFormHeader($bridge){
return <<