Check state of repository type radio button had not been applied.

This commit is contained in:
takezoe
2013-07-19 03:48:58 +09:00
parent 897890e1b4
commit e3ff1dcd96

View File

@@ -25,7 +25,7 @@
<hr> <hr>
<fieldset class="margin"> <fieldset class="margin">
<label> <label>
<input type="radio" name="isPrivate" value="false" checked> <input type="radio" name="isPrivate" value="false"@if(!repository.repository.isPrivate){ checked}>
<strong>Public</strong><br> <strong>Public</strong><br>
<div> <div>
<span class="note">All users and guests can read this repository.</span> <span class="note">All users and guests can read this repository.</span>
@@ -34,7 +34,7 @@
</fieldset> </fieldset>
<fieldset> <fieldset>
<label> <label>
<input type="radio" name="isPrivate" value="true"> <input type="radio" name="isPrivate" value="true"@if(repository.repository.isPrivate){ checked}>
<strong>Private</strong><br> <strong>Private</strong><br>
<div> <div>
<span class="note">Only collaborators can read this repository.</span> <span class="note">Only collaborators can read this repository.</span>