SHIMADA Koji
null+****@clear*****
Wed Sep 26 17:46:05 JST 2012
SHIMADA Koji 2012-09-26 17:46:05 +0900 (Wed, 26 Sep 2012) New Revision: 3a40eaf2fd3978c0b74ce21fca10a734f78c5a6c https://github.com/logaling/logaling-server/commit/3a40eaf2fd3978c0b74ce21fca10a734f78c5a6c Log: Fix style Modified files: app/views/github_project_memberships/_form.html.haml app/views/github_projects/_form.html.haml app/views/terms/_form.html.haml app/views/terms/edit.html.haml app/views/user_glossaries/_form.html.haml Modified: app/views/github_project_memberships/_form.html.haml (+10 -7) =================================================================== --- app/views/github_project_memberships/_form.html.haml 2012-09-26 17:16:55 +0900 (1e23b63) +++ app/views/github_project_memberships/_form.html.haml 2012-09-26 17:46:05 +0900 (c249928) @@ -7,12 +7,15 @@ %li= msg .control-group - http://github.com/ - = f.text_field :project_owner#, :class => 'conrols' - \/ - = f.text_field :project_name - = f.hidden_field :user_id, value: current_user.id + .control-label + http://github.com/ + .controls + = f.text_field :project_owner#, :class => 'conrols' + \/ + = f.text_field :project_name + = f.hidden_field :user_id, value: current_user.id .control-group - .btn-group.actions - = f.submit '登録する', :class => 'btn btn-large' + .controls + .btn-group.actions + = f.submit '登録する', :class => 'btn btn-large' Modified: app/views/github_projects/_form.html.haml (+9 -6) =================================================================== --- app/views/github_projects/_form.html.haml 2012-09-26 17:16:55 +0900 (dbfcc5e) +++ app/views/github_projects/_form.html.haml 2012-09-26 17:46:05 +0900 (3100743) @@ -8,11 +8,14 @@ -# TODO should be just one text field .control-group - http://github.com/ - = f.text_field :owner - \/ - = f.text_field :name + .control-label + http://github.com/ + .controls + = f.text_field :owner + \/ + = f.text_field :name .control-group - .btn-group.actions - = f.submit '登録する', :class => 'btn btn-large' + .controls + .btn-group.actions + = f.submit '登録する', :class => 'btn btn-large' Modified: app/views/terms/_form.html.haml (+6 -3) =================================================================== --- app/views/terms/_form.html.haml 2012-09-26 17:16:55 +0900 (e15e808) +++ app/views/terms/_form.html.haml 2012-09-26 17:46:05 +0900 (e15a78a) @@ -8,13 +8,16 @@ .control-group = f.label :source_term, "Source term:", :class => 'control-label required' - = f.text_field :source_term + .controls + = f.text_field :source_term .control-group = f.label :target_term, "Target term:", :class => 'control-label required' - = f.text_field :target_term + .controls + = f.text_field :target_term .control-group = f.label :note, "Note:", :class => 'control-label' - = f.text_field :note + .controls + = f.text_field :note .control-group .controls Modified: app/views/terms/edit.html.haml (+6 -3) =================================================================== --- app/views/terms/edit.html.haml 2012-09-26 17:16:55 +0900 (d5f099c) +++ app/views/terms/edit.html.haml 2012-09-26 17:46:05 +0900 (4f497b5) @@ -16,13 +16,16 @@ .control-group = f.label :source_term, "Source term:", :class => 'control-label required' - = f.text_field :source_term + .controls + = f.text_field :source_term .control-group = f.label :target_term, "Target term:", :class => 'control-label required' - = f.text_field :target_term + .controls + = f.text_field :target_term .control-group = f.label :note, "Note:", :class => 'control-label' - = f.text_field :note + .controls + = f.text_field :note .control-group .controls Modified: app/views/user_glossaries/_form.html.haml (+6 -3) =================================================================== --- app/views/user_glossaries/_form.html.haml 2012-09-26 17:16:55 +0900 (3f6a480) +++ app/views/user_glossaries/_form.html.haml 2012-09-26 17:46:05 +0900 (9aa21f8) @@ -8,13 +8,16 @@ .control-group = f.label :name, "Glossary name:", :class => 'control-label required' - = f.text_field :name + .controls + = f.text_field :name .control-group = f.label :source_language, "Source language:", :class => 'control-label required' - = f.text_field :source_language + .controls + = f.text_field :source_language .control-group = f.label :target_language, "Target language:", :class => 'control-label required' - = f.text_field :target_language + .controls + = f.text_field :target_language .control-group .controls -------------- next part -------------- An HTML attachment was scrubbed... Télécharger