Sha256: f6df6883d4e4c2b100abaf4fb8b8ed6d9a2b5e4597e72859fb5acda2947a3fd9
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
<% listname = polaris_random_input_name %> <fieldset class="Polaris-ChoiceList" id="<%= listname %>" aria-invalid="false"> <legend class="Polaris-ChoiceList__Title"><%= title %></legend> <ul class="Polaris-ChoiceList__Choices"> <% choices.each do |choice| %> <% inputname = polaris_random_input_name %> <li> <label class="Polaris-Choice" for="<%= inputname %>"> <span class="Polaris-Choice__Control"> <span class="Polaris-RadioButton"> <input id="<%= inputname %>" name="<%= listname %>" type="radio" class="Polaris-RadioButton__Input" value="<%= choice[:value] %>" <%= selected == choice[:value] ? "checked" : "" %> > <span class="Polaris-RadioButton__Backdrop"></span> <span class="Polaris-RadioButton__Icon"></span> </span> </span> <span class="Polaris-Choice__Label"><%= choice[:label] %></span> </label> </li> <% end %> </ul> </fieldset>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polaris_view_helpers-0.0.18 | app/views/polaris/_choice_list.html.erb |