Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_form.html.haml « projects « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9823e594e1af0861015eecfd05cb8d5858736486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
= form_for [:admin, @admin_project] do |f|
  -if @admin_project.errors.any?
    #error_explanation
      %h2= "#{pluralize(@admin_project.errors.count, "error")} prohibited this admin_project from being saved:"
      %ul
        - @admin_project.errors.full_messages.each do |msg|
          %li= msg

  .span-24
    .span-12
      .field
        = f.label :name
        %br
        = f.text_field :name
      .field
        = f.label :code
        %br
        = f.text_field :code
      .field
        = f.label :path
        %br
        = f.text_field :path
    .span-10
      .field
        = f.label :description
        %br
        = f.text_area :description
  .clear
  .actions
    = f.submit 'Save', :class => "lbutton"