Commit 90279e8034a7f31787ff41e3893d5f31b3b1b40d
1 parent
cc63d678
Exists in
master
and in
1 other branch
Fixed labels on radiobuttons for app/_fields
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
app/views/apps/_fields.html.haml
@@ -51,17 +51,17 @@ | @@ -51,17 +51,17 @@ | ||
51 | %div.issue_tracker.nested | 51 | %div.issue_tracker.nested |
52 | %div.choose | 52 | %div.choose |
53 | = w.radio_button :type, "IssueTracker", 'data-section' => 'none' | 53 | = w.radio_button :type, "IssueTracker", 'data-section' => 'none' |
54 | - = label_tag :type_none, '(None)', :for => label_for_attr(w, 'type_none') | 54 | + = label_tag :type_none, '(None)', :for => label_for_attr(w, 'type_issuetracker') |
55 | = w.radio_button :type, "LighthouseTracker", 'data-section' => 'lighthouse' | 55 | = w.radio_button :type, "LighthouseTracker", 'data-section' => 'lighthouse' |
56 | - = label_tag :type_lighthouseapp, 'Lighthouse', :for => label_for_attr(w, 'type_lighthouseapp') | 56 | + = label_tag :type_lighthouseapp, 'Lighthouse', :for => label_for_attr(w, 'type_lighthousetracker') |
57 | = w.radio_button :type, "RedmineTracker", 'data-section' => 'redmine' | 57 | = w.radio_button :type, "RedmineTracker", 'data-section' => 'redmine' |
58 | - = label_tag :type_redmine, 'Redmine', :for => label_for_attr(w, 'type_redmine') | 58 | + = label_tag :type_redmine, 'Redmine', :for => label_for_attr(w, 'type_redminetracker') |
59 | = w.radio_button :type, "PivotalTracker", 'data-section' => 'pivotal' | 59 | = w.radio_button :type, "PivotalTracker", 'data-section' => 'pivotal' |
60 | - = label_tag :type_pivotal, 'Pivotal Tracker', :for => label_for_attr(w, 'type_pivotal') | 60 | + = label_tag :type_pivotal, 'Pivotal Tracker', :for => label_for_attr(w, 'type_pivotaltracker') |
61 | = w.radio_button :type, "FogbugzTracker", 'data-section' => 'fogbugz' | 61 | = w.radio_button :type, "FogbugzTracker", 'data-section' => 'fogbugz' |
62 | - = label_tag :type_fogbugz, 'FogBugz', :for => label_for_attr(w, 'type_fogbugz') | 62 | + = label_tag :type_fogbugz, 'FogBugz', :for => label_for_attr(w, 'type_fogbugztracker') |
63 | = w.radio_button :type, "MingleTracker", 'data-section' => 'mingle' | 63 | = w.radio_button :type, "MingleTracker", 'data-section' => 'mingle' |
64 | - = label_tag :type_fogbugz, 'Mingle', :for => label_for_attr(w, 'type_mingle') | 64 | + = label_tag :type_fogbugz, 'Mingle', :for => label_for_attr(w, 'type_mingletracker') |
65 | %div.tracker_params.none{:class => (w.object && !(w.object.class < IssueTracker)) ? 'chosen' : nil} | 65 | %div.tracker_params.none{:class => (w.object && !(w.object.class < IssueTracker)) ? 'chosen' : nil} |
66 | %p When no issue tracker has been configured, you will be able to leave comments on errors. | 66 | %p When no issue tracker has been configured, you will be able to leave comments on errors. |
67 | %div.tracker_params.lighthouse{:class => w.object.is_a?(LighthouseTracker) ? 'chosen' : nil} | 67 | %div.tracker_params.lighthouse{:class => w.object.is_a?(LighthouseTracker) ? 'chosen' : nil} |