Showing 1 changed files with 9 additions and 0 deletions
+9
templates/settings.html.ep
... ...
@@ -188,6 +188,15 @@
188 188
           %= select_field 'default-branch' => $branch_names, style => 'margin-top:5px';
189 189
         </form>
190 190
       </div>
191
+      <div class="border-gray radius-bottom" style="padding:5px 10px;border-top:none;">
192
+        <form id="form-default-branch" action="<%= url_for->query(op => 'private') %>" method="post" style="margin-bottom:0px">
193
+          <span>Make this repository private</span>
194
+          %# my $private = $git->description($user, $project);
195
+          % my $private = 1;
196
+          %= check_box 'private' => $private, style => 'margin-top:0px;margin-left:5px;margin-right:10px';
197
+          <input type="submit" class="btn" value="Save">
198
+        </form>
199
+      </div>
191 200
     </div>
192 201
     
193 202
     <div style="margin-bottom:30px">