add another toggle button

This commit is contained in:
mlorb 2018-05-18 16:34:01 +02:00
parent 81392362ac
commit c2cf52bb34

View file

@ -4,11 +4,11 @@
<div class="form-group"> <div class="form-group">
<label for="protocol_protocol_type"><%= t("my_modules.protocols.copy_to_repository_modal.type_label") %></label><br> <label for="protocol_protocol_type"><%= t("my_modules.protocols.copy_to_repository_modal.type_label") %></label><br>
<div class="btn-group" data-toggle="buttons"> <div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active"> <label class="btn btn-toggle active">
<input type="radio" value="in_repository_public" name="protocol[protocol_type]" id="protocol_protocol_type_in_repository_public" checked="checked"> <input type="radio" value="in_repository_public" name="protocol[protocol_type]" id="protocol_protocol_type_in_repository_public" checked="checked">
<%= t("my_modules.protocols.copy_to_repository_modal.type_public") %> <%= t("my_modules.protocols.copy_to_repository_modal.type_public") %>
</label> </label>
<label class="btn btn-primary"> <label class="btn btn-toggle">
<input type="radio" value="in_repository_private" name="protocol[protocol_type]" id="protocol_protocol_type_in_repository_private"> <input type="radio" value="in_repository_private" name="protocol[protocol_type]" id="protocol_protocol_type_in_repository_private">
<%= t("my_modules.protocols.copy_to_repository_modal.type_private") %> <%= t("my_modules.protocols.copy_to_repository_modal.type_private") %>
</label> </label>