Sha256: 9bc3ad2ab08744db85daff22fc014b1bafd661d03dd9353081e363147f82b734

Contents?: true

Size: 526 Bytes

Versions: 6

Compression:

Stored size: 526 Bytes

Contents

<div class="clearfix">
	<h5>
		<%= radio_button_tag "role", "none", @user_role.blank?, id: "role_none", disabled: !vulgata_current_user.vulgata_admin? %>
		<%= label_tag "role_none", "No Role", class: "language-label" %>
	</h5>
	<% Vulgata::UserRole.roles.keys.each do |role| %>
		<h5>
			<%= radio_button_tag "role", role, role.to_s == @user_role.to_s, id: "role_#{role}", disabled: !vulgata_current_user.vulgata_admin? %>
			<%= label_tag "role_#{role}", role.capitalize, class: "language-label" %>
		</h5>
	<% end %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vulgata-0.3.7 app/views/vulgata/team/_role_selector.html.erb
vulgata-0.3.6 app/views/vulgata/team/_role_selector.html.erb
vulgata-0.3.5 app/views/vulgata/team/_role_selector.html.erb
vulgata-0.3.4 app/views/vulgata/team/_role_selector.html.erb
vulgata-0.3.3 app/views/vulgata/team/_role_selector.html.erb
vulgata-0.3.1 app/views/vulgata/team/_role_selector.html.erb