This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/basic_infos/role_page.html.erb

32 lines
979 B
Plaintext
Raw Permalink Normal View History

2013-11-26 11:14:24 +00:00
<%= stylesheet_link_tag "sign_up" %>
<section id="main-wrap">
<div class="sign-up have-other-sign-in">
<% flash.each do |key, msg| %>
<%= content_tag :p, msg, :class => [key, "alert alert-error in fade"] %>
<% end %>
<div class="form">
<h3 class="login-logo">Please select a role</h3>
<div class="form-block">
<div class="form-list clearfix option-block">
<form action="<%= basic_infos_role_update_path %>" method="post">
<label>Roles</label>
<div class="control-group clear">
<% @roles.each do |role| %>
<input type="checkbox" name="user[role_ids][]" value="<%= role.id.to_s %>" />
<label class="role-label">
<%= role.title %>
</label>
<% end %>
<input type="hidden" name="id" value="<%= @user_id %>"
</div>
<h3 class="line"></h3>
<input type="submit" value="Finish" class="btn btn-primary pull-right" />
</form>
</div>
</div>
</div>
</div>
</section>