<%= type == "create" ? "新建" : "编辑" %>开源许可证
<%= link_to "返回", admins_project_licenses_path, class: "btn btn-default pull-right" %>
<%= form_for @project_license, url: {controller: "project_licenses", action: "#{type}"} do |f| %>
<%= f.text_field :name, class: "form-control input-lg", maxlength: "60", placeholder: "请输入开源许可证的全称" %>
<%= f.text_area :content,class:"form-control", rows: "10", cols: "20",placeholer: "许可证的简要介绍,不得超过500字" %>
<%= f.submit "确认", class: "btn btn-primary submit-btn" %>
<% end %>