Channels > Form adjust checkboxes and labels in table

This commit is contained in:
Felix Niklas 2015-11-05 12:15:26 +01:00
parent df79cf734d
commit 6d7e4dd5cd

View file

@ -48,17 +48,45 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td><label><input type="checkbox" name="debug" value="true"/> <%- @T('Enable debugging for implementation.') %></label></td> <td>
</tr> <label class="inline-label">
<span class="checkbox-replacement checkbox-replacement--inline">
<input type="checkbox" name="debug" value="true">
<%- @Icon('checkbox', 'icon-unchecked') %>
<%- @Icon('checkbox-checked', 'icon-checked') %>
</span>
<%- @T('Enable debugging for implementation.') %>
</label>
<tr> <tr>
<td><label><input type="checkbox" name="showTitle" value="true"/> <%- @T('Show title in form.') %></label></td> <td>
</tr> <label class="inline-label">
<span class="checkbox-replacement checkbox-replacement--inline">
<input type="checkbox" name="showTitle" value="true">
<%- @Icon('checkbox', 'icon-unchecked') %>
<%- @Icon('checkbox-checked', 'icon-checked') %>
</span>
<%- @T('Show title in form.') %>
</label>
<tr> <tr>
<td><label><input type="checkbox" name="modal" value="true" checked/> <%- @T('Start modal dialog for form.') %></label></td> <td>
</tr> <label class="inline-label">
<span class="checkbox-replacement checkbox-replacement--inline">
<input type="checkbox" name="modal" value="true" checked>
<%- @Icon('checkbox', 'icon-unchecked') %>
<%- @Icon('checkbox-checked', 'icon-checked') %>
</span>
<%- @T('Start modal dialog for form.') %>
</label>
<tr> <tr>
<td><label><input type="checkbox" name="noCSS" value="true"/> <%- @T('Load no CSS for form. You need to generate your own CSS for the form.') %></label></td> <td>
</tr> <label class="inline-label">
<span class="checkbox-replacement checkbox-replacement--inline">
<input type="checkbox" name="noCSS" value="true">
<%- @Icon('checkbox', 'icon-unchecked') %>
<%- @Icon('checkbox-checked', 'icon-checked') %>
</span>
<%- @T('Load no CSS for form. You need to generate your own CSS for the form.') %>
</label>
</tbody> </tbody>
</table> </table>
</form> </form>