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

@@ -23,24 +23,24 @@
</select> </select>
</fieldset> </fieldset>
<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>
</div> </div>
</label> </label>
</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>
</div> </div>
</label> </label>
</fieldset> </fieldset>
</div> </div>
</div> </div>
@* @*