Added lead mod, developer and trainingmod as suffixes

Added lead mod, developer and trainingmod as suffixes so that you can
have two of them together (if needed)
This commit is contained in:
Jonas Folvik
2015-12-29 12:16:28 +01:00
parent d5edeca666
commit ccac3fc975
3 changed files with 32 additions and 10 deletions

View File

@@ -40,6 +40,26 @@
</td>
</tr>
<% end %>
<% if admin? %>
<tr>
<td>Developer</td>
<td>
<%= f.select :developer, [["No", false], ["Yes", true]], {}, { disabled: !can_edit? } %>
</td>
</tr>
<tr>
<td>TrainingMod</td>
<td>
<%= f.select :trainingmod, [["No", false], ["Yes", true]], {}, { disabled: !can_edit? } %>
</td>
</tr>
<tr>
<td>Lead Mod</td>
<td>
<%= f.select :lead_mod, [["No", false], ["Yes", true]], {}, { disabled: !can_edit? } %>
</td>
</tr>
<% end %>
<tr>
<td>Skype username</td>
<td>