simplify form-inline markup

This commit is contained in:
Felix Niklas 2014-08-07 01:17:13 +02:00
parent 1a058f5bcb
commit e7c34179fd
2 changed files with 66 additions and 82 deletions

View file

@ -1,7 +1,6 @@
<form class="form-inline update-box bulk-action-form" role="form">
<div id="form-ticket-bulk" class="horizontal">
<div class="form-group">
<div class="input-group">
<label for="create_state_id" class="input-group-addon">Status</label>
<select id="create_state_id" class="form-control" name="state_id">
<option value="" selected="">-</option>
@ -13,9 +12,7 @@
<option value="6">zurück gezogen</option>
</select>
</div>
</div>
<div class="form-group">
<div class="input-group">
<label for="create_priority_id" class="input-group-addon">Priorität</label>
<select id="create_priority_id" class="form-control" name="priority_id">
<option value="" selected="">-</option>
@ -31,9 +28,7 @@
<span class="help-block"></span>
-->
</div>
</div>
<div class="form-group">
<div class="input-group">
<label for="create_group_id" class="input-group-addon">Gruppe</label>
<select id="create_group_id" class="form-control" name="group_id">
<option value="">-</option>
@ -43,9 +38,7 @@
<option value="1">Users</option>
</select>
</div>
</div>
<div class="form-group">
<div class="input-group">
<label for="create_owner_id" class="input-group-addon">Besitzer</label>
<select id="create_owner_id" class="form-control" name="owner_id">
<option value="">-</option>
@ -55,7 +48,6 @@
<option value="4">Robert Zammad</option>
</select>
</div>
</div>
<div class="form-group">
<input type="submit" class="btn primary submit" value="update">
</div>

View file

@ -2,7 +2,7 @@
<div class="avatar user-popover" data-id="<%= @S('id') %>" style="background-image: url(<%- @S('image') %>)"></div>
<div class="flex text-bubble">
<div class="bubble-arrow"></div>
<textarea class="fit"></textarea>
<textarea></textarea>
<span class="bubble-placeholder">Antwort eingeben oder <span class="highlight">Dateien wählen</span></span>
</div>
</div>
@ -10,7 +10,6 @@
<form class="edit-ticket-properties form-inline" role="form">
<div class="horizontal">
<div class="form-group">
<div class="input-group">
<label for="update_ticket_1_state_id" class="input-group-addon">State</label>
<select id="update_ticket_1_state_id" class="form-control" name="state_id">
<option value="4">closed</option>
@ -19,9 +18,7 @@
<option value="3">pending</option>
</select>
</div>
</div>
<div class="form-group">
<div class="input-group">
<label for="update_ticket_1_priority_id" class="input-group-addon">Priority</label>
<select id="update_ticket_1_priority_id" class="form-control" name="priority_id">
<option value="1">1 low</option>
@ -29,9 +26,7 @@
<option value="3">3 high</option>
</select>
</div>
</div>
<div class="form-group">
<div class="input-group">
<label for="update_ticket_1_group_id" class="input-group-addon">Group</label>
<select id="update_ticket_1_group_id" class="form-control" name="group_id">
<option value="4">FillGroup::450863</option>
@ -40,16 +35,13 @@
<option value="1" selected="">Users</option>
</select>
</div>
</div>
<div class="form-group">
<div class="input-group">
<label for="update_ticket_1_owner_id" class="input-group-addon">Owner</label>
<select id="update_ticket_1_owner_id" class="form-control" name="owner_id">
<option value="">-</option>
<option value="3">Felix Niklas</option>
</select>
</div>
</div>
<div class="form-group">
<input type="submit" class="btn primary submit" value="update">
</div>