Skip to content

Commit c75940a

Browse files
tensorflower-gardenerCopybara-Service
authored andcommitted
TensorFlow - Adds 'devsite-nav-buttons' HTML wrapper so that v1 'devsite-navigating-radio' widget works on both v2 and v1.
PiperOrigin-RevId: 229177841
1 parent ab40de5 commit c75940a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/en/install/pip.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ <h3>Hardware requirements</h3>
3232

3333
<h2>1. Install the Python development environment on your system</h2>
3434

35-
<form>
36-
<input type="radio" class="devsite-navigating-radio" name="lang" value="python3" data-is-default>
35+
<devsite-nav-buttons>
36+
<input type="radio" class="devsite-navigating-radio" name="lang" value="python3" id="radio-python3" data-is-default>
3737
<label for="radio-python3">Python 3</label>
38-
<input type="radio" class="devsite-navigating-radio" name="lang" value="python2">
38+
<input type="radio" class="devsite-navigating-radio" name="lang" value="python2" id="radio-python2">
3939
<label for="radio-python2">Python 2.7</label>
40-
</form>
40+
</devsite-nav-buttons>
4141

4242
<p>
4343
Check if your Python environment is already configured:

0 commit comments

Comments
 (0)