Skip to content

Commit

Permalink
Merge pull request #142 from datacite/remove-is-public
Browse files Browse the repository at this point in the history
Removes the the option in settings form to set the User `is_public` attribute
  • Loading branch information
codycooperross authored Aug 8, 2023
2 parents 66617cb + ee3b45c commit d1ee49d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/views/settings/_show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<div class="row">
<div class='col-md-10 col-md-offset-2'>
<div class="form-group">
<%= f.input :is_public, label: "Record is public", input_html: { class: "form-user" } %>
<%= f.input :auto_update, label: "Auto-Update is enabled", input_html: { class: "form-user" } %>
<%= f.input :beta_tester, label: "Beta Tester", input_html: { class: "form-user" } %>
</div>
Expand Down Expand Up @@ -56,12 +55,6 @@
</div>
<div class="panel-body">
<dl class="dl-horizontal">
<dt>Record</dt>
<% if @user.is_public %>
<dd>is public</dd>
<% else %>
<dd class="text-info">is private</dd>
<% end %>
<dt>Auto-Update</dt>
<% if @user.auto_update %>
<dd>is enabled</dd>
Expand Down

0 comments on commit d1ee49d

Please sign in to comment.