app/views/georgia/users/_form.html.erb in georgia-0.7.8 vs app/views/georgia/users/_form.html.erb in georgia-0.8.0
- old
+ new
@@ -17,11 +17,26 @@
<%= f.input :password_confirmation, label: 'Confirm' %>
</div>
</fieldset>
<fieldset>
<div class="fieldset-help">
- <legend>Roles</legend>
+ <legend>Role</legend>
+ <p class="hint">
+ <%= icon_tag('info-circle') %>
+ Users have different abilities depending on the access level (role) they are granted.
+ <%= link_to 'Learn more', permissions_users_path %>
+ </p>
</div>
<div class="fieldset-fields">
- <%= f.association :roles, as: :check_boxes %>
+ <%= f.association :roles, as: :check_boxes, collection: georgia_roles_collection, label: false %>
+ </div>
+</fieldset>
+<fieldset>
+ <div class="fieldset-help">
+ <legend>Notifications</legend>
+ </div>
+ <div class="fieldset-fields">
+ <label class='checkbox'>
+ <%= f.check_box :receives_notifications, class: 'boolean optional form-control' %> Will receive email notifications and reminders from Georgia CMS
+ </label>
</div>
</fieldset>
\ No newline at end of file