Sha256: 8a11225a59dfa4fcf9d1657274b081899d05e82daa8c5716d1b13c2c97a99f3a
Contents?: true
Size: 709 Bytes
Versions: 6
Compression:
Stored size: 709 Bytes
Contents
<form action='<%= @attendanceUrl %>' id='<%= @examPortionScore %>-submit' class='mt-xs'> <select name='preset-reasons' class="span12"> <% for type in @attendanceTypes : %> <% if @attendance && @attendance.attendance_type_id == type.id : %> <option value='<%= type.id %>' selected='selected' ><%= type.name %></option> <% else : %> <option value='<%= type.id %>'><%= type.name %></option> <% end %> <% end %> </select> <input name='custom-reason' class="span12" value="<%= @attendance.reason if @attendance %>" /> <button class='btn btn-primary mt-s'>Submit</button> <% if @attendance : %> <a class='delete-attendance'> Delete </a> <% end %> </form>
Version data entries
6 entries across 6 versions & 2 rubygems