Commit 1f4606589cd397f53ad8ca4f9b8046fcd279eb8c

Authored by Daniela Feitosa
1 parent c7a23ce5

ActionItem734: adding radiobuttons for private/publics for communities/enterprises

Showing 1 changed file with 11 additions and 1 deletions   Show diff stats
app/views/profile_editor/edit.rhtml
@@ -46,7 +46,17 @@ @@ -46,7 +46,17 @@
46 </table> 46 </table>
47 <% else %> 47 <% else %>
48 <table> 48 <table>
49 - <tr><th></th><th><%= _('Public') %></th><th><%= _('Private') %></th></tr> 49 + <tr>
  50 + <th></th>
  51 + <th>
  52 + <%= radio_button 'profile_data', 'public_profile', 'true' %>
  53 + <label for="profile_data_public_profile_true"><u><%= _('Public') %></u></label>
  54 + </th>
  55 + <th style='padding: 2px 10px 2px 2px;'>
  56 + <%= radio_button 'profile_data', 'public_profile', 'false' %>
  57 + <label for="profile_data_public_profile_false"><u><%= _('Private') %></u></label>
  58 + </th>
  59 + </tr>
50 <tr> 60 <tr>
51 <td> <%= _('Activate Intranet access (restricted area only for members)') %> </td><td><%= _('Yes') %></td><td><%= _('Yes') %></td> 61 <td> <%= _('Activate Intranet access (restricted area only for members)') %> </td><td><%= _('Yes') %></td><td><%= _('Yes') %></td>
52 </tr> 62 </tr>