-%>
<input type="button" value="<%= message('issue.assign.submit') -%>" onclick="submitIssueForm(this)">
- <%= link_to_function message('cancel'), 'closeIssueForm(this)' -%>
+ <%= link_to_function message('cancel'), 'closeIssueForm(this)', :class => 'action' -%>
<span class="loading hidden"></span>
</td>
</tr>
</table>
-</form>
\ No newline at end of file
+</form>
<%= dropdown_tag('plan', plan_options, {:show_search_box => false}, {:id => plans_select_box_id}) -%>
- <input type="button" value="<%= message('issue.plan.submit') -%>" onclick="submitIssueForm(this)">
- <%= link_to_function message('cancel'), 'closeIssueForm(this)' -%>
+ <input type="button" value="<%= message('issue.plan.submit') -%>" onclick="submitIssueForm(this)">
+ <%= link_to_function message('cancel'), 'closeIssueForm(this)', :class => 'action' -%>
<span class="loading hidden"></span>
</form>
<tr>
<td>
<input type="text" id="issue-assignee-select">
- <input id="issue-assign-submit" type="submit" value="<%= message('issue.assign.submit') -%>">
+ <input id="issue-assign-submit" type="submit" value="<%= message('issue.assign.submit') -%>">
<a id="issue-assign-cancel" class="action"><%= message('cancel') -%></a>
</td>
</tr>
{{/notEq}}
{{/each}}
</select>
- <input id="issue-plan-submit" type="submit" value="<%= message('issue.plan.submit') -%>">
+ <input id="issue-plan-submit" type="submit" value="<%= message('issue.plan.submit') -%>">
{{else}}
<% if is_admin? %>
<span class="error"><%= message('issue.plan.error.plan_must_be_created_first_for_admin') -%></span>
<span class="error"><%= message('issue.plan.error.plan_must_be_created_first_for_other') -%></span>
<% end %>
{{/if}}
- <a id="issue-plan-cancel" class="action"><%= message('cancel') -%></a>
+ <a id="issue-plan-cancel" class="action"><%= message('cancel') -%></a>
</script>
onRender: function() {
var format = function(state) {
if (!state.id) return state.text; // optgroup
- return '<i class="icon-severity-' + state.id.toLowerCase() + '"></i>' + state.text;
+ return '<i class="icon-severity-' + state.id.toLowerCase() + '"></i> ' + state.text;
}
this.ui.select.select2({
.code-issue-form input[type=submit],
.code-issue-form input[type=button],
-.code-issue-form button {
+.code-issue-form button,
+.code-issue-form .action {
vertical-align: middle;
}